From 37b805dfb45902b6b41c45482f67e6f98e08b0a3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 12 Jan 2009 10:43:55 -0500 Subject: [PATCH] index: Expunge records' UIDs weren't verified to be valid before using them. --HG-- branch : HEAD --- src/lib-index/mail-transaction-log-view.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.47.3