Fix crash in mime acl when a parameter is zero-length
[exim.git] / test / scripts / 4000-scanning / 4000
CommitLineData
93cad488
JH
1# mime boundaries
2#
3# This mail should be fine, if complex
4#
59371ea7
PH
5exim -odi -bs
6ehlo test.ex
7mail from:<>
8rcpt to:<userx@test.ex>
9data
10Date: Fri, 17 Dec 2004 14:35:01 +0100
11From: J Caesar <jcaesar@test.ex>
12To: a-list00@exim.org
13Message-ID: <20041217133501.GA3058@test.ex>
14Mime-Version: 1.0
15Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
16Content-Disposition: inline
17Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
18 the "volume" charts
19X-BeenThere: a-list00@exim.org
20X-Mailman-Version: 2.1.5
21Precedence: list
22
d203e649
PH
23--T4sUOijqQbZv57TR
24Content-Type: text/plain; charset=US-ASCII
25Content-Transfer-Encoding: quoted-printable
26Content-Disposition: inline
27
28Test quoted-printable =3D
29Space at end of line=40
30Continued line =
31with this text.
32
59371ea7
PH
33--T4sUOijqQbZv57TR
34Content-Type: text/plain; charset=us-ascii
35Content-Disposition: inline
36
37There was a part of the patch missing, complete one is attached.
38 sorry for wasting your time
39
40--T4sUOijqQbZv57TR
41Content-Type: text/plain; charset=us-ascii
42Content-Disposition: attachment; filename=working-patch
43
44--- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
45+++ eximstats 2004-12-17 13:47:37.763185260 +0100
46@@ -1107,11 +1107,11 @@
47 if (scalar @chartdatanames < $ntopchart)
48 {
49 push(@chartdatanames, $key);
50- push(@chartdatavals, $$m_count{$key});
51+ push(@chartdatavals, $$m_data{$key});
52 }
53 else
54 {
55- $chartotherval += $$m_count{$key};
56+ $chartotherval += $$m_data{$key};
57 }
58 }
59 push(@chartdatanames, "Other");
60
61--T4sUOijqQbZv57TR
62Content-Type: text/plain; charset="us-ascii"
63MIME-Version: 1.0
64Content-Transfer-Encoding: 7bit
65Content-Disposition: inline
66
67--
68
69--T4sUOijqQbZv57TR--
70.
71quit
72****
93cad488
JH
73#
74#
75# This one has a rotten parameter, but should not induce a crash
76#
77exim -odi -bs
78ehlo test.ex
79mail from:<>
80rcpt to:<userx@test.ex>
81data
59371ea7
PH
82Date: Fri, 17 Dec 2004 14:35:01 +0100
83From: J Caesar <jcaesar@test.ex>
84To: a-list00@exim.org
85Message-ID: <20041217133501.GA3058@test.ex>
86Mime-Version: 1.0
87Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
88Content-Disposition: inline
93cad488 89Subject: Nasty
59371ea7
PH
90
91--T4sUOijqQbZv57TR
93cad488 92Content-Type: text/plain; charset=
59371ea7 93
93cad488 94foobar
59371ea7
PH
95
96--T4sUOijqQbZv57TR--
59371ea7
PH
97.
98quit
99****