summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-08-31 15:37:40 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-08-31 15:57:29 +0100
commit4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2 (patch)
treef8041218c4d3a259b1a5c5b72ad944424f40a922 /test/scripts
parent1072af868662ea8fec30454c2d62afdee24f2c8e (diff)
downloadexim4-4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2.tar.gz
Fix $regex<n> use-after-free. Bug 2915
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/4000-scanning/40027
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scripts/4000-scanning/4002 b/test/scripts/4000-scanning/4002
index a660f6805..fcfae698b 100644
--- a/test/scripts/4000-scanning/4002
+++ b/test/scripts/4000-scanning/4002
@@ -30,9 +30,16 @@ Subject: A real test message
Date: Fri, 17 Dec 2004 16:13:04 +0100
Message-ID: <41C2F849.3060203@projectile.test.ex>
FakeReject: test fakereject
+MIME-Version: 1.0
+Content-Type: text/plain
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
.
quit
****