<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rsyslog.git/runtime, 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>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: 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>streamline dynafile cache entry deletion a bit</title>
<updated>2010-03-23T13:21:33+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-23T13:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=5d58774813d4ecd4fc9f8230f8d5446457eb2ed5'/>
<id>5d58774813d4ecd4fc9f8230f8d5446457eb2ed5</id>
<content type='text'>
The old code looks a bit "strange", though not necessarily incorrect.
The new code looks correct and is probably less irritating during bug
hunting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old code looks a bit "strange", though not necessarily incorrect.
The new code looks correct and is probably less irritating during bug
hunting.
</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>fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fix</title>
<updated>2010-03-19T08:42:46+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-19T08:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=89216d6a96ea5f6d1fa9893d56fa877a2131d390'/>
<id>89216d6a96ea5f6d1fa9893d56fa877a2131d390</id>
<content type='text'>
The previous fix fixed an issue with on/off bying used in the exact wrong
semantic. It corrected the situation, but failed to fix one spot where the
wrong semantics were used. This is done with this commit.

Note that this is NOT a bug seen in any released version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous fix fixed an issue with on/off bying used in the exact wrong
semantic. It corrected the situation, but failed to fix one spot where the
wrong semantics were used. This is done with this commit.

Note that this is NOT a bug seen in any released version.
</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>
<entry>
<title>some cleanup, some additional comments and a bit more debug output</title>
<updated>2010-03-18T11:34:26+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-18T11:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=1fb45d3e993e44e1595fc54f1ad3b786c66fbb4c'/>
<id>1fb45d3e993e44e1595fc54f1ad3b786c66fbb4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix(cosmetic): tried to close non-open fd, resulting in close(-1)</title>
<updated>2010-03-16T18:06:01+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-16T18:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=d7faed130cb089343ea3d9875561582e6f1d469f'/>
<id>d7faed130cb089343ea3d9875561582e6f1d469f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
