Subject: Re: pkg/30534
To: None <is@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,>
From: None <is@netbsd.org>
List: pkgsrc-bugs
Date: 06/16/2005 08:02:03
Synopsis: mini_sendmail messes up parsing some messages
State-Changed-From-To: open->analyzed
State-Changed-By: is@netbsd.org
State-Changed-When: Thu, 16 Jun 2005 08:02:02 +0000
State-Changed-Why:
From code reading, your fix is not quite right. It uses ,\n as a hint to
a continuation line, but this approach allows for false positives as well
as false negatives.
Instead, we have to check (in a new state) for whitespace at the start of
a line, and delay add_recipient() until we have checked that a new line
is no continuation line. add_recpient will have to make sure not to use
the \n verbatim afterwards.
Fix pending implementation and test.