<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rsyslog.git/ChangeLog, branch v4.6.2</title>
<subtitle>rsyslog development for Lumberjack - various unofficial and potentially rebased branches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/'/>
<entry>
<title>preparing for 4.6.2</title>
<updated>2010-03-26T14:41:59+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-26T14:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=b6ce75cb6ce65a468f9551d98a641b407a4f2630'/>
<id>b6ce75cb6ce65a468f9551d98a641b407a4f2630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new feature: $OMFileAsyncWriting directive added</title>
<updated>2010-03-25T14:23:39+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T14:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=d102aab886fcde914677146caf20bd68ca41bfff'/>
<id>d102aab886fcde914677146caf20bd68ca41bfff</id>
<content type='text'>
it permits to specifiy if asynchronous writing should be done or not
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it permits to specifiy if asynchronous writing should be done or not
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix(temporary): message-induced off-by-one error (potential segfault)</title>
<updated>2010-03-25T07:03:37+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T07:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=a3e48b697fa664110567fcd0027d24ea5a239041'/>
<id>a3e48b697fa664110567fcd0027d24ea5a239041</id>
<content type='text'>
Some types of malformed messages could trigger an off-by-one error
(for example, \0 or \n as the last character, and generally control
character escaption is questionable). This is due to not strictly
following a the \0 or string counted string paradigm (during the last
optimization on the cstring class). As a temporary fix, we have
introduced a proper recalculation of the size. However, a final
patch is expected in the future. See bug tracker for further details
and when the final patch will be available:
http://bugzilla.adiscon.com/show_bug.cgi?id=184
Note that the current patch is considered sufficient to solve the
situation, but it requires a bit more runtime than desirable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some types of malformed messages could trigger an off-by-one error
(for example, \0 or \n as the last character, and generally control
character escaption is questionable). This is due to not strictly
following a the \0 or string counted string paradigm (during the last
optimization on the cstring class). As a temporary fix, we have
introduced a proper recalculation of the size. However, a final
patch is expected in the future. See bug tracker for further details
and when the final patch will be available:
http://bugzilla.adiscon.com/show_bug.cgi?id=184
Note that the current patch is considered sufficient to solve the
situation, but it requires a bit more runtime than desirable.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: potential segfault in dynafile cache</title>
<updated>2010-03-25T06:56:03+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T06:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=28b3703c95cb06642ff245f4d7e265c4591c128f'/>
<id>28b3703c95cb06642ff245f4d7e265c4591c128f</id>
<content type='text'>
This bug was triggered by an open failure. The the cache was full and
a new entry needed to be placed inside it, a victim for eviction was
selected. That victim was freed, then the open of the new file tried. If
the open failed, the victim entry was still freed, and the function
exited. However, on next invocation and cache search, the victim entry
was used as if it were populated, most probably resulting in a segfault.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug was triggered by an open failure. The the cache was full and
a new entry needed to be placed inside it, a victim for eviction was
selected. That victim was freed, then the open of the new file tried. If
the open failed, the victim entry was still freed, and the function
exited. However, on next invocation and cache search, the victim entry
was used as if it were populated, most probably resulting in a segfault.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: race condition during directory creation</title>
<updated>2010-03-25T06:50:55+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T06:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=9e5b31fc44136dbcc1e443cfe7714e9daf97d844'/>
<id>9e5b31fc44136dbcc1e443cfe7714e9daf97d844</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: potential re-use of free()ed file stream object in omfile</title>
<updated>2010-03-23T13:11:50+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-23T13:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=f8dee56243d7378864fdcdcc21262fc563639827'/>
<id>f8dee56243d7378864fdcdcc21262fc563639827</id>
<content type='text'>
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
fails. In that case, it looks like the discarded stream may be reused
improperly (based on code analysis, test case and confirmation pending)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
fails. In that case, it looks like the discarded stream may be reused
improperly (based on code analysis, test case and confirmation pending)
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix(minor): BSD_SO_COMPAT query function had some global vars not properly initialized.</title>
<updated>2010-03-22T14:47:07+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-22T14:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=148910c285161097b44cd5df165c3bd19e21ae33'/>
<id>148910c285161097b44cd5df165c3bd19e21ae33</id>
<content type='text'>
However, in practice the loader initializes them with zero, the
desired value, so there were no actual issue in almost all cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
However, in practice the loader initializes them with zero, the
desired value, so there were no actual issue in almost all cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: invalid buffer write in (file) stream class</title>
<updated>2010-03-19T06:41:04+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-19T06:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=9cdcba0bdc8b8d2df8d06784f3c4f0066c90fd40'/>
<id>9cdcba0bdc8b8d2df8d06784f3c4f0066c90fd40</id>
<content type='text'>
currently being accessed buffer could be overwritten with new data.
While this probably did not cause access violations, it could case loss
and/or duplication of some data (definitely a race with no deterministic
outcome)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
currently being accessed buffer could be overwritten with new data.
While this probably did not cause access violations, it could case loss
and/or duplication of some data (definitely a race with no deterministic
outcome)
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: potential hang condition during filestream close</title>
<updated>2010-03-19T06:37:56+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-19T06:37:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=3e0578605f7df8427aa5b70c2b4396504113fafc'/>
<id>3e0578605f7df8427aa5b70c2b4396504113fafc</id>
<content type='text'>
predicate was not properly checked when waiting for the background file
writer
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
predicate was not properly checked when waiting for the background file
writer
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: improper synchronization when "$OMFileFlushOnTXEnd on" was used</title>
<updated>2010-03-19T06:19:28+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-19T06:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=e910078e41e2960f9afc55013cbd287532be478e'/>
<id>e910078e41e2960f9afc55013cbd287532be478e</id>
<content type='text'>
Internal data structures were not properly protected due to missing
mutex calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Internal data structures were not properly protected due to missing
mutex calls.
</pre>
</div>
</content>
</entry>
</feed>
