Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / mail / 4002.userx
index 6bc565c3f002d4e632abc8bb31eb219b0c8b4b98..8ec49da09ebd7bccf2c97c39d48dd57849a5c4c0 100644 (file)
@@ -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 <CALLER@myhost.test.ex>
 X-Regex: Regex matched <THIS gazornenplaz REGEX> <gazornenplaz>
 
 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
+