From: Timo Sirainen Date: Mon, 12 Jan 2009 15:43:55 +0000 (-0500) Subject: index: Expunge records' UIDs weren't verified to be valid before using them. X-Git-Tag: 1.2.beta1~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37b805dfb45902b6b41c45482f67e6f98e08b0a3;p=thirdparty%2Fdovecot%2Fcore.git index: Expunge records' UIDs weren't verified to be valid before using them. --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-transaction-log-view.c b/src/lib-index/mail-transaction-log-view.c index 65f890389d..d07e9a840b 100644 --- a/src/lib-index/mail-transaction-log-view.c +++ b/src/lib-index/mail-transaction-log-view.c @@ -438,6 +438,7 @@ log_view_is_record_valid(struct mail_transaction_log_file *file, "expunge record missing protection mask"); return FALSE; } + rec_type &= ~MAIL_TRANSACTION_EXPUNGE_PROT; } if (rec_size == 0) {