summaryrefslogtreecommitdiff
path: root/test/scripts/4000-scanning
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-01-01 21:47:10 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-01 22:27:28 +0000
commite7c25d5b603a33e677efc4bccb6e5cac617e7ad5 (patch)
tree3a2ea181c7daadee073a0d1e9568fa13ea99aba0 /test/scripts/4000-scanning
parentbf485bf34df3fc2214765497a5552851c6a8977a (diff)
Avoid crash with badly-terminated non-recognised mime parameter
Diffstat (limited to 'test/scripts/4000-scanning')
-rw-r--r--test/scripts/4000-scanning/400032
1 files changed, 32 insertions, 0 deletions
diff --git a/test/scripts/4000-scanning/4000 b/test/scripts/4000-scanning/4000
index de175dec5..cd53007b2 100644
--- a/test/scripts/4000-scanning/4000
+++ b/test/scripts/4000-scanning/4000
@@ -153,3 +153,35 @@ foobar
.
quit
****
+#
+#
+# This one has a some unrecognised params
+#
+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/plain;
+ garbage1;
+ garbage2=foo;
+ garbage3="bar"foo;
+ charset=UTF-8;
+ garbage4=";
+Content-Disposition: inline
+Subject: Nasty4
+
+--T4sUOijqQbZv57TR
+Content-Type: text/plain;
+
+foobar
+
+--T4sUOijqQbZv57TR--
+.
+quit
+****