[openssl/openssl] 46def8: Fix a memleak in prepare_rsa_params
Bernd Edlinger
noreply at github.com
Wed Sep 13 05:49:26 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 46def829afa4d8bed8f53d484bdf842d65f0e176
https://github.com/openssl/openssl/commit/46def829afa4d8bed8f53d484bdf842d65f0e176
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M providers/implementations/encode_decode/encode_key2any.c
Log Message:
-----------
Fix a memleak in prepare_rsa_params
This affects only RSA-PSS keys with params using
negative salt legth, or in case of out of memory.
This fixes a memory leak reported in #22049.
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22061)
More information about the openssl-commits
mailing list