dovecot-2.2: imapc: Removed brokenly used explicit data stack fr...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 24 20:57:39 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/a28c8043842d
changeset: 14660:a28c8043842d
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 16 02:03:53 2012 +0300
description:
imapc: Removed brokenly used explicit data stack frame.
Fixes crashes when a message has more than 8 keywords.

diffstat:

 src/lib-storage/index/imapc/imapc-mailbox.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r db32881669e6 -r a28c8043842d src/lib-storage/index/imapc/imapc-mailbox.c
--- a/src/lib-storage/index/imapc/imapc-mailbox.c	Sat Jun 16 01:59:44 2012 +0300
+++ b/src/lib-storage/index/imapc/imapc-mailbox.c	Sat Jun 16 02:03:53 2012 +0300
@@ -338,7 +338,7 @@
 		mail_index_update_flags(mbox->delayed_sync_trans, lseq,
 					MODIFY_REPLACE, flags);
 	}
-	if (seen_flags) T_BEGIN {
+	if (seen_flags) {
 		ARRAY_TYPE(keyword_indexes) old_kws;
 		struct mail_keywords *kw;
 
@@ -354,7 +354,7 @@
 						   lseq, MODIFY_REPLACE, kw);
 		}
 		mail_index_keywords_unref(&kw);
-	} T_END;
+	}
 	imapc_mailbox_idle_notify(mbox);
 }
 


More information about the dovecot-cvs mailing list