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

Re: Router segfaults



On Mon, Aug 16, 1999 at 03:50:53PM +0300, Eino Tuominen wrote:
> On 11 Aug, To: zmailer@nic.funet.fi wrote:
> > 
> > Hi all!
> > 
> > I'm running now Zmailer 2.99.51 and I noticed that one kind of messages
> > causes router to segfault. Zmailer is running on Solaris 2.6.
> 
> OK. Message that causes router to dump core had this kind of an error
> in header lines:
> 
> From: Suomen.Saveltajat@compose.pp.fi (Suomen =?iso-8859-1?Q?S=E4velt=E4j=E4t?=
>  )
> 
> That is, there is a newline before closing ')'. 

	With this I was able to find the party-crasher.
	In the   _unfold()  function the "++start" was done
	once without checking that the value before its call
	was not same as the termination condition of 'cpe'.

> -- 
> #! /usr/bin/perl -- Eino Tuominen, eino@utu.fi

-- 
/Matti Aarnio	<mea@nic.funet.fi>