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

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


details:   http://hg.dovecot.org/dovecot-1.1/rev/edf2a285fa28
changeset: 8084:edf2a285fa28
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 12 10:43:37 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 3ca9bff0e048 -r edf2a285fa28 src/lib-index/mail-transaction-log-view.c
--- a/src/lib-index/mail-transaction-log-view.c	Mon Jan 12 10:24:59 2009 -0500
+++ b/src/lib-index/mail-transaction-log-view.c	Mon Jan 12 10:43:37 2009 -0500
@@ -418,6 +418,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