dovecot-2.1: imapc: Fixed potential assert-crash when saving a m...

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 5 17:44:58 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/0602a0d36164
changeset: 13605:0602a0d36164
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 05 17:34:16 2011 +0300
description:
imapc: Fixed potential assert-crash when saving a mail.

diffstat:

 src/lib-storage/index/imapc/imapc-save.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f2732fa01394 -r 0602a0d36164 src/lib-storage/index/imapc/imapc-save.c
--- a/src/lib-storage/index/imapc/imapc-save.c	Wed Oct 05 17:21:46 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-save.c	Wed Oct 05 17:34:16 2011 +0300
@@ -146,6 +146,7 @@
 	   messages to remote server during our transaction */
 	mail_index_append(ctx->trans, uid, &seq);
 	mail_set_seq_saving(_mail, seq);
+	imail->data.no_caching = TRUE;
 	imail->data.forced_no_caching = TRUE;
 
 	if (ctx->fd != -1) {


More information about the dovecot-cvs mailing list