<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ds.git/lib/libaccess, 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 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#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 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>
<entry>
<title>Bug 611790 - fix coverify Defect Type: Null pointer dereferences issues 11940 - 12166</title>
<updated>2010-08-23T23:38:53+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-08-23T23:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=a3c4404cf6e1873a47d9e7c86b113bb6b91708b1'/>
<id>a3c4404cf6e1873a47d9e7c86b113bb6b91708b1</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=611790
Resolves: bug 611790
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 11940 - 12166
Fix description: Use the right pointer in LASIpAddPattern().
coverity ID: 11945
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=611790
Resolves: bug 611790
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 11940 - 12166
Fix description: Use the right pointer in LASIpAddPattern().
coverity ID: 11945
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 610119 - fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199</title>
<updated>2010-08-23T18:07:37+00:00</updated>
<author>
<name>Endi S. Dewata</name>
<email>edewata@redhat.com</email>
</author>
<published>2010-07-02T05:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=c606cfcecb3d3403dfd3d1a90bd1d2b061eb3b6e'/>
<id>c606cfcecb3d3403dfd3d1a90bd1d2b061eb3b6e</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=610119
Resolves: bug 610119
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
Fix description: Catch possible NULL pointer in acl_usr_cache_insert().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=610119
Resolves: bug 610119
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
Fix description: Catch possible NULL pointer in acl_usr_cache_insert().
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 610119 - fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199</title>
<updated>2010-08-23T18:07:31+00:00</updated>
<author>
<name>Endi S. Dewata</name>
<email>edewata@redhat.com</email>
</author>
<published>2010-07-07T00:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/edewata/public_git/ds.git/commit/?id=9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6'/>
<id>9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=610119
Resolves: bug 610119
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
Fix description: Catch possible NULL pointer in LASDnsBuild().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=610119
Resolves: bug 610119
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
Fix description: Catch possible NULL pointer in LASDnsBuild().
</pre>
</div>
</content>
</entry>
</feed>
