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 17:22:01 +0000 (17:22 +0000)
commitba5d0113e8bcb26857ae58a11b219aeb7bc2408a
treed1ee6027c06571b9f879bc241812257d427751d2
parentf747572547c97dc590fcd33fb9051931106adaee
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