diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-22 23:29:55 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-22 23:29:55 +0000 |
commit | 11ad1a96ad57aa925eb1465e588ba29c6d0d2602 (patch) | |
tree | 0ea5f382413b9f74cc4246ff8a71e9cf914a6d53 /usr.bin/ssh/sftp-client.c | |
parent | ac70f3f5fb8464487a5420dc7bf78c59445a9c6a (diff) |
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@
Diffstat (limited to 'usr.bin/ssh/sftp-client.c')
0 files changed, 0 insertions, 0 deletions