Fix a failure to NULL a pointer freed on error.
authorMatt Caswell <matt@openssl.org>
Thu, 19 Mar 2015 10:16:32 +0000 (10:16 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 19 Mar 2015 12:59:31 +0000 (12:59 +0000)
commita4517be9e348634ac64f9cf093131e13e8c03e38
tree46eb12013bc61ff986d5af3ec6174ff05071148b
parent6e24e1cdd20d568ca11a95943f34c6031c60a1df
Fix a failure to NULL a pointer freed on error.

Reported by the LibreSSL project as a follow on to CVE-2015-0209

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/asn1/x_x509.c
crypto/ec/ec_asn1.c