[openssl/openssl] 46def8: Fix a memleak in prepare_rsa_params
noreply at github.com
Wed Sep 13 05:49:26 UTC 2023
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-13 (Wed, 13 Sep 2023)
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