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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -6,6 +6,15 @@ Version 4.6.1 [v4-stable] (rgerhards), 2010-02-?? - bugfix: fixed problem that caused compilation on FreeBSD 9.0 to fail. bugtracker: http://bugzilla.adiscon.com/show_bug.cgi?id=181 Thanks to Christiano for reporting. +- 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. - bugfix: comment char ('#') in literal terminated script parsing and thus could not be used. but tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=119 |