Avoid double-free in calleres to OCSP_parse_url
authorJim Basney <jbasney@illinois.edu>
Wed, 9 Mar 2016 23:11:49 +0000 (17:11 -0600)
committerRich Salz <rsalz@akamai.com>
Thu, 10 Mar 2016 01:44:52 +0000 (20:44 -0500)
commitdca7158c954679757e216a0179f9014f86f6ed44
tree3e348a3fc0eb315102a0d20d148fe711b9af0110
parent642565106e7764cecf96cf865bd6c52afaa68f22
Avoid double-free in calleres to OCSP_parse_url

set pointers to NULL after OPENSSL_free before returning to caller to
avoid possible double-free in caller

Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ocsp/ocsp_lib.c