]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix memory leak in ossl_rsa_fromdata.
authorslontis <shane.lontis@oracle.com>
Fri, 24 Jun 2022 04:01:07 +0000 (14:01 +1000)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 15:07:53 +0000 (17:07 +0200)
commit28adea95975c3ea53fc590efda35dee13efd4767
tree9a4e064d87729a680bace30a757e29b99df7b4db
parent995eccb611431a4857cac3283e2442c01109d428
Fix memory leak in ossl_rsa_fromdata.

Occurs if a malloc failure happens inside collect_numbers()

Reported via #18365

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18646)
crypto/rsa/rsa_backend.c