dovecot-1.2: Message threading assert-crashfix.

dovecot at dovecot.org dovecot at dovecot.org
Mon May 18 00:15:09 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/2d5f38d2af31
changeset: 9036:2d5f38d2af31
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 17 17:11:15 2009 -0400
description:
Message threading assert-crashfix.

diffstat:

1 file changed, 3 insertions(+)
src/lib-storage/index/index-thread-links.c |    3 +++

diffs (13 lines):

diff -r 6810af53ae30 -r 2d5f38d2af31 src/lib-storage/index/index-thread-links.c
--- a/src/lib-storage/index/index-thread-links.c	Sun May 17 15:43:50 2009 -0400
+++ b/src/lib-storage/index/index-thread-links.c	Sun May 17 17:11:15 2009 -0400
@@ -205,6 +205,9 @@ bool mail_thread_remove(struct mail_thre
 
 	if (msgid_map->uid > cache->last_uid) {
 		/* this message was never added to the cache, skip */
+		while (msgid_map[count].uid == msgid_map->uid)
+			count++;
+		*msgid_map_idx += count;
 		return TRUE;
 	}
 


More information about the dovecot-cvs mailing list