Fix potential memory leaks with BN_to_ASN1_INTEGER
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 9 Sep 2019 17:12:25 +0000 (19:12 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 13 Sep 2019 11:23:42 +0000 (13:23 +0200)
commit515c728dbaa92211d2eafb0041ab9fcd258fdc41
tree6a56ebd36440584c716144c8a1df6558318d671a
parent86ed78676c660b553696cc10c682962522dfeb6c
Fix potential memory leaks with BN_to_ASN1_INTEGER

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9833)

(cherry picked from commit f28bc7d386b25fb75625d0c62c6b2e6d21de0d09)
crypto/ec/ec_asn1.c
crypto/x509v3/v3_asid.c