[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Sender: something-" -> crash
Recently Edwin Allum mentioned a small test case which has been
killing ZMailer routers for ages.
Well, the problem was on router/rfc822.c: and rfc822hdrs.c, which
used faulty header for routing -> junk produced for various tests
-> finally a null-pointer deferral on string compare -> SIGSEGV..
(Minimally, the copySender() routine shall not consider headers
with h_stamp == BadHeader to be eligible for picking up..
Perhaps alternatively the FindHeader() -macro shall not pick
> From email@example.com Wed Dec 28 01:37:55 1994
> From: firstname.lastname@example.org
> To: email@example.com
> Illegal-Object: Syntax error in Sender: address found on astro.utu.fi:
> Sender: mea-
> ^ ^-missing end of mailbox
> \-extraneous tokens in mailbox
> Message-Id: <94Dec28.firstname.lastname@example.org>
> Date: Tue, 27 Dec 1994 08:26:20 +0200
> Demo Effect ?? (Edwin Allum's report on "Sender: mea-)
/Matti Aarnio <email@example.com> <firstname.lastname@example.org>
(Running ZMailer-2.99.3 on astro.utu.fi - Solaris 2.3)