From 4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 31 Aug 2022 15:37:40 +0100 Subject: Fix $regex use-after-free. Bug 2915 --- test/mail/4002.userx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/mail/4002.userx') diff --git a/test/mail/4002.userx b/test/mail/4002.userx index 6bc565c3f..8ec49da09 100644 --- a/test/mail/4002.userx +++ b/test/mail/4002.userx @@ -27,9 +27,16 @@ Subject: A real test message Date: Tue, 2 Mar 1999 09:44:33 +0000 Message-ID: <41C2F849.3060203@projectile.test.ex> FakeReject: test fakereject +MIME-Version: 1.0 +Content-Type: text/plain Sender: CALLER_NAME X-Regex: Regex matched OK, this should look like a genuine message, but it will trip on THIS gazornenplaz REGEX. +This checks proper release of variable used for mime_regex +firstname@foobar.com +secondname@blaz.com +thirdname@blaz.com + -- cgit v1.2.3