dovecot-1.2: index: Expunge records' UIDs weren't verified to be...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 12 17:44:18 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/3ee12ca9e2c4
changeset: 8612:3ee12ca9e2c4
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 12 10:43:55 2009 -0500
description:
index: Expunge records' UIDs weren't verified to be valid before using them.

diffstat:

1 file changed, 1 insertion(+)
src/lib-index/mail-transaction-log-view.c |    1 +

diffs (11 lines):

diff -r e9a28087b9f9 -r 3ee12ca9e2c4 src/lib-index/mail-transaction-log-view.c
--- a/src/lib-index/mail-transaction-log-view.c	Mon Jan 12 10:32:38 2009 -0500
+++ b/src/lib-index/mail-transaction-log-view.c	Mon Jan 12 10:43:55 2009 -0500
@@ -438,6 +438,7 @@ log_view_is_record_valid(struct mail_tra
 				"expunge record missing protection mask");
 			return FALSE;
 		}
+		rec_type &= ~MAIL_TRANSACTION_EXPUNGE_PROT;
 	}
 
 	if (rec_size == 0) {


More information about the dovecot-cvs mailing list