dovecot-2.0: imap: Don't crash if SELECT .. QRESYNC doesn't spec...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 28 22:25:42 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/8f92498a6c88
changeset: 9822:8f92498a6c88
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 28 15:22:08 2009 -0400
description:
imap: Don't crash if SELECT .. QRESYNC doesn't specify list of UIDs.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-fetch.c | 2 +-
diffs (12 lines):
diff -r 88246989a806 -r 8f92498a6c88 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Fri Aug 28 14:44:10 2009 -0400
+++ b/src/imap/imap-fetch.c Fri Aug 28 15:22:08 2009 -0400
@@ -247,7 +247,7 @@ static int get_expunges_fallback(struct
if (mailbox_search_deinit(&search_ctx) < 0)
ret = -1;
- if (ret == 0 && array_is_created(ctx->qresync_sample_seqset))
+ if (ret == 0 && ctx->qresync_sample_seqset != NULL)
expunges_drop_known(ctx, mail, expunges);
mail_free(&mail);
More information about the dovecot-cvs
mailing list