]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/recipes/15-test_rsapss.t
Fix a possible memleak in rsa_pub_encode
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 7 Sep 2023 17:22:25 +0000 (19:22 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 11 Sep 2023 08:48:54 +0000 (10:48 +0200)
commit285eb1688f05ad477fefc681bf05d0afedc46d40
tree15077d7af656eee41d395b151818d70b9f416dae
parent8ac32e1e1b1a786366333acf897d332339610e6b
Fix a possible memleak in rsa_pub_encode

That seems to be only an issue for RSA-PSS with parameters.
Spotted by code review, so it looks like there is no test coverage for this.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22032)
crypto/rsa/rsa_ameth.c
test/recipes/15-test_rsapss.t