[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Jacek Masiulaniec
Date: Sun, 22 Feb 2009 23:32:01 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2009/02/22 16:29:54

Modified files:
        usr.sbin/smtpd : queue_shared.c runner.c 

Log message:
Fix race possible between runner and queue when starting up.
runner_reset_flags would attempt to update envelope, but its
envelope.tmp could be renamed by queue_purge. The fix is to store
envelope.tmp in a place no other process writes to, and
/queue/envelope.tmp is perfect for this.

ok gilles@

<Prev in Thread] Current Thread [Next in Thread>