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

Re: bug in lib/rfc822scan.c



> I found a bug in lib/rfc822scan.c. 
> The bug manifest itself scanning a nested comment with two consecutive ')' 
> like this:
> 	max (Nested (Comment))

  This works nicely.  Also for this:
	To: xxx (lengthy comment
	    on extension as well)
however
	To: xxx (lenthy comment (nested even)) (another
	    on extension)
turns into
	To: xxx (lenthy comment (nested even) another on extension)

Then:
	To: "comments in quotes" "another" xxx
leads to a disaster (quotes disappear), however:
	To: "comments in quotes" "another" <xxx>
works... (it is caused by router stripping quotes to find local parts,
but it doesn't recognize presence of non-quoted xxx to be address..)

wonder about that...
Comment end AND comment start side by side delete each other.

	/Matti Aarnio