]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
index: Expunge records' UIDs weren't verified to be valid before using them.
authorTimo Sirainen <tss@iki.fi>
Mon, 12 Jan 2009 15:43:55 +0000 (10:43 -0500)
committerTimo Sirainen <tss@iki.fi>
Mon, 12 Jan 2009 15:43:55 +0000 (10:43 -0500)
--HG--
branch : HEAD

src/lib-index/mail-transaction-log-view.c

index 65f890389d15dd8c8b76c2706307c09d248f551e..d07e9a840bdf740e363614b34055191948248757 100644 (file)
@@ -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) {