[openssl/openssl] e3d4cc: Fix a memleak in prepare_rsa_params
Bernd Edlinger
noreply at github.com
Wed Sep 13 05:49:26 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: e3d4cc706d78d33430ae2d4efd9c3e8321137a2d
https://github.com/openssl/openssl/commit/e3d4cc706d78d33430ae2d4efd9c3e8321137a2d
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)
(cherry picked from commit 46def829afa4d8bed8f53d484bdf842d65f0e176)
More information about the openssl-commits
mailing list