From 5c6cf6a0d5cb7da39e7fde01dca1ff862c1fa1c8 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 14 Dec 2014 15:15:34 +0000 Subject: Account properly for quoted or 2047-encoded MIME parameters while walking headers. Bug 1558 --- test/scripts/4000-scanning/4000 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'test/scripts/4000-scanning') 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: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +From: J Caesar +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 +**** -- cgit v1.2.3