summaryrefslogtreecommitdiff
path: root/test/scripts/4000-scanning
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-12-14 15:15:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-12-14 15:15:34 +0000
commit5c6cf6a0d5cb7da39e7fde01dca1ff862c1fa1c8 (patch)
tree09a896fa28115d465a447ff7a62c3a5b0130dd96 /test/scripts/4000-scanning
parent30079bc1d20c0473d012ef33654358cfadb0a2ff (diff)
Account properly for quoted or 2047-encoded MIME parameters while walking headers. Bug 1558
Diffstat (limited to 'test/scripts/4000-scanning')
-rw-r--r--test/scripts/4000-scanning/400029
1 files changed, 29 insertions, 0 deletions
diff --git a/test/scripts/4000-scanning/4000 b/test/scripts/4000-scanning/4000
index 649f9825a..2f760bca0 100644
--- a/test/scripts/4000-scanning/4000
+++ b/test/scripts/4000-scanning/4000
@@ -97,3 +97,32 @@ foobar
.
quit
****
+#
+#
+# This one has a different rotten parameter, but should not induce a crash
+#
+exim -odi -bs
+ehlo test.ex
+mail from:<>
+rcpt to:<userx@test.ex>
+data
+Date: Fri, 17 Dec 2004 14:35:01 +0100
+From: J Caesar <jcaesar@test.ex>
+To: a-list00@exim.org
+Message-ID: <20041217133501.GA3059@test.ex>
+Mime-Version: 1.0
+Content-Type: text/html;
+ charset=UTF-8;
+ name=""
+Content-Disposition: inline
+Subject: Nasty
+
+--T4sUOijqQbZv57TR
+Content-Type: text/plain;
+
+foobar
+
+--T4sUOijqQbZv57TR--
+.
+quit
+****