diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 07:50:55 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 07:50:55 +0100 |
commit | 9e5b31fc44136dbcc1e443cfe7714e9daf97d844 (patch) | |
tree | 4e31876b298b652181e776bb63de8efce26f5d85 /ChangeLog | |
parent | 5d58774813d4ecd4fc9f8230f8d5446457eb2ed5 (diff) | |
download | rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.gz rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.xz rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.zip |
bugfix: race condition during directory creation
If multiple files try to create a directory at (almost) the same time,
some of them may fail. This is a data race and also exists with other
processes that may create the same directory. We do now check for this
condition and gracefully handle it.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,11 @@ Version 4.6.2 [v4-stable] (rgerhards), 2010-03-?? - new feature: "." action type added to support writing files to relative pathes (this is primarily meant as a debug aid) +- bugfix: race condition during directory creation + If multiple files try to create a directory at (almost) the same time, + some of them may fail. This is a data race and also exists with other + processes that may create the same directory. We do now check for this + condition and gracefully handle it. - bugfix: potential re-use of free()ed file stream object in omfile when dynaCache is enabled, the cache is full, a new entry needs to be allocated, thus the LRU discarded, then a new entry is opend and that |