[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Sender: something-[12]" -> 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
	 BadHeaders ?)

> From mea@astro.utu.fi  Wed Dec 28 01:37:55 1994
> From:	mea@astro.utu.fi
> To:	mea@astro.utu.fi
> Illegal-Object: Syntax error in Sender: address found on astro.utu.fi:
> 	Sender:	mea-[12]
> 		^   ^-missing end of mailbox
> 		 \-extraneous tokens in mailbox
> Message-Id: <94Dec28.013511+0200eet_dst.34665+1@astro.utu.fi>
> Date:	Tue, 27 Dec 1994 08:26:20 +0200
> Demo Effect ?? (Edwin Allum's report on "Sender: mea-[12])

	/Matti Aarnio	<mea@utu.fi> <mea@nic.funet.fi>
		(Running ZMailer-2.99.3 on  astro.utu.fi - Solaris 2.3)