On Sat, Jan 21, 2012 at 12:50:30PM -0700, Gilles Chehade wrote: > CVSROOT: /cvs > Module name: src > Changes by: gil...@cvs.openbsd.org 2012/01/21 12:50:30 > > Modified files: > usr.sbin/smtpd : smtp_session.c > > Log message: > in session_error(), do not call session_destroy() when the F_WRITEONLY > session flag is set, set F_QUIT instead. > > fixes a "corrupted session" fatalx() that triggers when a client > disconnects after sending the end of message '.' but without waiting > for server to acknowledge. > > reported by Roman Kravchuk <kravchuk...@gmail.com> a while ago, could not > reproduce until today. >
if you're testing opensmtpd, you should upgrade as without this diff it's possible to cause smtpd to abort quite easily -- Gilles Chehade http://www.poolp.org @poolpOrg