diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-02-02 13:56:31 -0400 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-02-03 15:53:11 -0700 |
commit | 398183b4e1c448d960aea76a66ccac2816f94003 (patch) | |
tree | ba975e114d18e330a43d417647de198d5b50f291 /NEWS | |
parent | a5196bf55b86b85e1af447677a85591925f31b94 (diff) |
Fix race in cleanup of othertmp directory that could result in a failure attempting to access it.
Need to create the directory after the lock is held, not before.
The other racing process would need to shut down at just the wrong time,
running cleanupOtherTmp.
This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
(cherry picked from commit a64fca92f6dfea086b7b9e65a2b83fb50fee1ecf)
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions