Fix possible memory leak in BN_mpi2bn() if BN_bin2bn() fails.
authortobhe <tobhe@openbsd.org>
Wed, 9 Nov 2022 01:05:45 +0000 (01:05 +0000)
committertobhe <tobhe@openbsd.org>
Wed, 9 Nov 2022 01:05:45 +0000 (01:05 +0000)
commit3ecdf8b229f1571d510e13e9d0ed37ab7c84e1fa
tree0a5d4c7016bda69e9315221515101dc914f79dd1
parentbd6652e3648a41ecf9f0e7ab842ad1c8d3f4f31e
Fix possible memory leak in BN_mpi2bn() if BN_bin2bn() fails.

found with CodeChecker
feedback from millert@
ok tb@
lib/libcrypto/bn/bn_mpi.c