[openssl/openssl] 9396ef: Fix a possible memleak in rsa_pub_encode
Bernd Edlinger
noreply at github.com
Mon Sep 11 08:51:15 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 9396ef92e7cdb1cd4e7f2244e620c4debeebed1b
https://github.com/openssl/openssl/commit/9396ef92e7cdb1cd4e7f2244e620c4debeebed1b
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M crypto/rsa/rsa_ameth.c
M test/recipes/15-test_rsapss.t
Log Message:
-----------
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 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22032)
(cherry picked from commit 285eb1688f05ad477fefc681bf05d0afedc46d40)
More information about the openssl-commits
mailing list