Bug 6377 - Fix memory leaks / error handling in oldgaa
: Fix memory leaks / error handling in oldgaa
Status: RESOLVED FIXED
: GSI C
Authorization
: 4.2.0
: All All
: P3 normal
: 4.2.1
Assigned To:
:
: 4.0.x
:
:
  Show dependency treegraph
 
Reported: 2008-09-11 12:22 by
Modified: 2008-09-11 12:37 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-11 12:22:13
Errors from prevent scan #2:

CID #507: check for null but still access ptr in oldgaa_find_matching_entry()
CID #508: check for null but still access str in
oldgaa_globus_parse_conditions()
CID #509: check for null but still access str in
oldgaa_globus_parse_conditions()
CID #510: check for null but still access str in
oldgaa_globus_parse_principals()
CID #511: check for null but still access str in oldgaa_globus_parse_rights()
CID #512: check for null but still access str in oldgaa_globus_parse_rights()
CID #1160: memory leak in oldgaa_parse_regex()
CID #1162: memory leak in get_default_policy_file()
CID #1163: memory leak in oldgaa_globus_parse_conditions()
CID #1164: memory leak in oldgaa_globus_parse_principals()
CID #1165: memory leak in oldgaa_globus_parse_rights()
CID #1166: memory leak in globus_i_gsi_callback_check_gaa_auth()
CID #1822: oldgaa_globus_parse_conditions() doesn't check result from malloc()
CID #1823: oldgaa_globus_parse_principals() doesn't check result from malloc()
CID #1907: oldgaa_globus_cleanup() can return uninitialized value
CID #2008: Dereferencing freed pointer "(pcontext)->str" in
oldgaa_globus_policy_retrieve()
CID #2009: Dereferencing freed pointer "pcontext" in
oldgaa_globus_policy_retrieve()
------- Comment #1 From 2008-09-11 12:37:44 -------
Fixes committed to 4.0 branch, 4.2 branch, and trunk