[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 firstname.lastname@example.org Wed Dec 28 01:37:55 1994
> From: email@example.com
> To: firstname.lastname@example.org
> 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.email@example.com>
> Date: Tue, 27 Dec 1994 08:26:20 +0200
> Demo Effect ?? (Edwin Allum's report on "Sender: mea-)
/Matti Aarnio <firstname.lastname@example.org> <email@example.com>
(Running ZMailer-2.99.3 on astro.utu.fi - Solaris 2.3)