Bugzilla – Bug 6377
Fix memory leaks / error handling in oldgaa
Last modified: 2008-09-11 12:37:44
You need to log in before you can comment on or make changes to this bug.
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()
Fixes committed to 4.0 branch, 4.2 branch, and trunk