CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2015/11/05 01:55:09

Modified files:
        usr.sbin/smtpd : rfc2822.c rfc2822.h smtp_session.c 

Log message:
when a message consists solely of headers and does not end them with an
empty line, the message parser gets confused, and forgets to flush last
header to message file.

detect if we're still in headers when hitting EOM, and flush if that is
the case.

reported by Philipp Takacs <[email protected]>

ok millert@, jung@, sunil@, eric@

Reply via email to