dovecot-1.2: imap: Don't crash if SELECT .. QRESYNC doesn't spec...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 28 22:25:37 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/5b121790eb3a
changeset: 9345:5b121790eb3a
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 28 15:21:51 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 7fa454048160 -r 5b121790eb3a src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Fri Aug 28 14:13:44 2009 -0400
+++ b/src/imap/imap-fetch.c Fri Aug 28 15:21:51 2009 -0400
@@ -259,7 +259,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