Fix a failure to NULL a pointer freed on error.
authorMatt Caswell <matt@openssl.org>
Mon, 9 Feb 2015 11:38:41 +0000 (11:38 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Feb 2015 20:38:25 +0000 (20:38 +0000)
commitdac693c957dc40dbf839f0add91b824deba26dc3
tree3a74c0a1599ea7399daf21c177e731c4b74dd50c
parent6e161ee39ede0686dc6ae9af115bf1c132f05db0
Fix a failure to NULL a pointer freed on error.

Inspired by BoringSSL commit 517073cd4b by Eric Roman <eroman@chromium.org>

CVE-2015-0209

Reviewed-by: Emilia Käsper <emilia@openssl.org>
crypto/ec/ec_asn1.c