<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ds.git/lib, branch 573889</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/'/>
<entry>
<title>Bug 630091 - (cov#11973) Array overrun in libaccess</title>
<updated>2010-09-24T17:04:12+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-24T17:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=dcfd94bd55a5e07f870f9ab1ea9d84a3f171b899'/>
<id>dcfd94bd55a5e07f870f9ab1ea9d84a3f171b899</id>
<content type='text'>
When going through the exceptions table in libaccess, we don't
check if we are at the last pair of elements in the array before
incrementing to the next pair.  This patch adds checks to see if
we are at the last pair of elements and avoids the increment if
necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When going through the exceptions table in libaccess, we don't
check if we are at the last pair of elements in the array before
incrementing to the next pair.  This patch adds checks to see if
we are at the last pair of elements and avoids the increment if
necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630092 - Coverity #11992,11993: Resource leaks issues</title>
<updated>2010-09-20T15:15:01+00:00</updated>
<author>
<name>Endi Sukma Dewata</name>
<email>edewata@redhat.com</email>
</author>
<published>2010-09-17T22:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=62cc84cec98c46d5792178d483f8780d43537d0a'/>
<id>62cc84cec98c46d5792178d483f8780d43537d0a</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=630092

Description:

The acl_Parse() has been modified to release newacls and newaclv
when an error occurs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=630092

Description:

The acl_Parse() has been modified to release newacls and newaclv
when an error occurs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630092 - (cov#12068) Resource leak in certmap code</title>
<updated>2010-09-17T21:39:45+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-17T21:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=9433fc73f04520ce7f309fef6bcc4052146d34fe'/>
<id>9433fc73f04520ce7f309fef6bcc4052146d34fe</id>
<content type='text'>
The ldapu_propval_list_free() function was freeing the nodes in
the list, but not the list itself.  We need to free the list itself
after all of the nodes have been freed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ldapu_propval_list_free() function was freeing the nodes in
the list, but not the list itself.  We need to free the list itself
after all of the nodes have been freed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630091 - (cov#12209) Use of uninitialized pointer in libaccess</title>
<updated>2010-09-15T21:58:53+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-15T21:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=8f1cdb3193c92c863c08a8836341ff54c9c17f7b'/>
<id>8f1cdb3193c92c863c08a8836341ff54c9c17f7b</id>
<content type='text'>
It looks like aclpvt is only initialized before use if __cplusplus
or lint are defined.  I see no harm in always initializing aclpvt
to NULL, which will guarantee that we don't use an uninitialized
pointer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It looks like aclpvt is only initialized before use if __cplusplus
or lint are defined.  I see no harm in always initializing aclpvt
to NULL, which will guarantee that we don't use an uninitialized
pointer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630097 - (cov#15473) NULL dereference in ResHashCreate()</title>
<updated>2010-09-15T16:11:06+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-14T21:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=50df94f549ae75669c071e610d08ffa9ed9e841c'/>
<id>50df94f549ae75669c071e610d08ffa9ed9e841c</id>
<content type='text'>
If there is a problem allocating pResHash, we jump to the error
label.  The error label then dereferences pResHash to do a deep
free, but it doesn't check if pResHash is NULL first.  We need to
check if pResHash is NULL before dereferencing it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is a problem allocating pResHash, we jump to the error
label.  The error label then dereferences pResHash to do a deep
free, but it doesn't check if pResHash is NULL first.  We need to
check if pResHash is NULL before dereferencing it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630097 - (cov#11964) Remove dead code from libaccess</title>
<updated>2010-09-15T16:11:05+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-13T21:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=562f39848cdb2486d97cc730607337f7bd5e566c'/>
<id>562f39848cdb2486d97cc730607337f7bd5e566c</id>
<content type='text'>
The libaccess library has some dead functions it it.  One of these
functions was flagged as having a NULL pointer dereference issue
by Coverity.  The problem function is unused, so it should be removed.
There are also a number of other unused functions in the same source
file that should be removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The libaccess library has some dead functions it it.  One of these
functions was flagged as having a NULL pointer dereference issue
by Coverity.  The problem function is unused, so it should be removed.
There are also a number of other unused functions in the same source
file that should be removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630097 - (cov#11946) NULL dereference in ResHashCreate()</title>
<updated>2010-09-15T16:11:05+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-13T20:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=7c00bf728c3a8c20c08d76f66cccaf892c81a5f2'/>
<id>7c00bf728c3a8c20c08d76f66cccaf892c81a5f2</id>
<content type='text'>
If we jump to the error label due to an error allocating memory
for pResHash-&gt;treelist, we try to do a free of
pResHash-&gt;treelist-&gt;vlist without checking if pResHash-&gt;treelist
is NULL. We need to perform this NULL check before dereferencing
pResHash-&gt;treelist.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we jump to the error label due to an error allocating memory
for pResHash-&gt;treelist, we try to do a free of
pResHash-&gt;treelist-&gt;vlist without checking if pResHash-&gt;treelist
is NULL. We need to perform this NULL check before dereferencing
pResHash-&gt;treelist.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 690090 - (cov#11974) Remove additional unused ACL functions</title>
<updated>2010-09-09T22:04:53+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-09T22:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=b2799df7aeae0f034846ca647e71134b23fa1ab5'/>
<id>b2799df7aeae0f034846ca647e71134b23fa1ab5</id>
<content type='text'>
There are a few more unused ACL functions to remove.  One of these
unused functions is causing coverity to report an error about
memory corruption.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are a few more unused ACL functions to remove.  One of these
unused functions is causing coverity to report an error about
memory corruption.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 630090 - (cov#11974) Remove unused ACL functions</title>
<updated>2010-09-09T17:18:59+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-09T17:18:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=d88253df42157df3d112122c3551b0969e9ce8a0'/>
<id>d88253df42157df3d112122c3551b0969e9ce8a0</id>
<content type='text'>
Coverity flagged a memory corruption issue in an old unused
ACL function.  It is best to just remove these unused functions.
The functions removed are:

  ACL_ParseFile
  ACL_WriteFile
  ACL_WriteString
  ACL_Decompose
  acl_to_str_*
  acl_decompose_*
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coverity flagged a memory corruption issue in an old unused
ACL function.  It is best to just remove these unused functions.
The functions removed are:

  ACL_ParseFile
  ACL_WriteFile
  ACL_WriteString
  ACL_Decompose
  acl_to_str_*
  acl_decompose_*
</pre>
</div>
</content>
</entry>
<entry>
<title>fix compiler warnings - unused vars/funcs, invalid casts</title>
<updated>2010-09-01T23:08:30+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-09-01T03:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=ea408efe551ad837b08423f6d32b5433ab8dfe2b'/>
<id>ea408efe551ad837b08423f6d32b5433ab8dfe2b</id>
<content type='text'>
This commit fixes many compiler warnings, mostly for things like unused
variables, functions, goto labels.
One place was using csngen_free instead of csn_free.  A couple of places
were using casts incorrectly, and several places needed some casts added.
Tested on: RHEL5 x86_64, Fedora 14 x86_64
Reviewed by: nkinder (Thanks!)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes many compiler warnings, mostly for things like unused
variables, functions, goto labels.
One place was using csngen_free instead of csn_free.  A couple of places
were using casts incorrectly, and several places needed some casts added.
Tested on: RHEL5 x86_64, Fedora 14 x86_64
Reviewed by: nkinder (Thanks!)
</pre>
</div>
</content>
</entry>
</feed>
