Bugzilla – Bug 3933
Memory leak in globus_gsi_cred_verify_cert_chain()
Last modified: 2008-08-11 15:00:49
You need to log in before you can comment on or make changes to this bug.
There is a memory leak in a function globus_gsi_cred_verify_cert_chain(). Pointer stored in variable cert_dir is not freed. Possible patch below: --- gt4.0.1-all-source-installer/source-trees/gsi/credential/source/library/globus_gsi_cred_handle.c.orig Wed Nov 23 14:22:54 2005 +++ gt4.0.1-all-source-installer/source-trees/gsi/credential/source/library/globus_gsi_cred_handle.c Wed Nov 23 14:23:29 2005 @@ -1679,6 +1679,11 @@ X509_STORE_CTX_free(store_context); } + if(cert_dir) + { + free(cert_dir); + } + GLOBUS_I_GSI_CRED_DEBUG_EXIT; return result; }
Fix committed to trunk and 4_0 branch