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 13:01:13 +0000 (13:01 +0000)
commit5e5d53d341fd9a9b9cc0a58eb3690832ca7a511f
treeef0d4188017e0a8db017b5b3eaac83193faced75
parent367eab2f9f1d1131356118507d21534558863365
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