diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-02 11:32:43 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-02 11:32:43 +0100 |
commit | 6cf9bf703de35dc530170fcfdd5bb81041e8c2c9 (patch) | |
tree | 97ad660e2c1c983ba582d9aa1e1e017f5c3eb7cd /rsyslog.conf | |
parent | d7755dd3dc5a653adff79a83b6115f872509b3d9 (diff) | |
download | rsyslog-6cf9bf703de35dc530170fcfdd5bb81041e8c2c9.tar.gz rsyslog-6cf9bf703de35dc530170fcfdd5bb81041e8c2c9.tar.xz rsyslog-6cf9bf703de35dc530170fcfdd5bb81041e8c2c9.zip |
bugfix: potential (but very impropable) segfaults in omfile
- bugfix: potential segfault in omfile when a dynafile open failed
In that case, a partial cache entry was written, and some internal
pointers (iCurrElt) not correctly updated. In the next iteration, that
could lead to a segfault, especially if iCurrElt then points to the
then-partial record. Not very likely, but could happen in practice.
- bugfix (theoretical): potential segfault in omfile under low memory
condition. This is only a theoretical bug, because it would only
happen when strdup() fails to allocate memory - which is highly
unlikely and will probably lead to all other sorts of errors.
Diffstat (limited to 'rsyslog.conf')
0 files changed, 0 insertions, 0 deletions