Branch: refs/heads/openssl-3.0
Home: https://github.openssl.org/openssl/openssl
Commit: 8358ad79d6ce7689ef6adf7ecb651e67a11f9b1a
https://github.openssl.org/openssl/openssl/commit/8358ad79d6ce7689ef6adf7ecb651e67a11f9b1a
Author: K1 <[email protected]>
Date: 2022-06-15 (Wed, 15 Jun 2022)
Changed paths:
M crypto/evp/p_lib.c
M test/keymgmt_internal_test.c
M test/recipes/02-test_internal_keymgmt.t
Log Message:
-----------
Fix a mem leak in evp_pkey_export_to_provider
If keymgmt is NULL, tmp_keymgmt is allocated and will not be freed.
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Paul Yang <[email protected]>
Reviewed-by: Todd Short <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18499)
(cherry picked from commit 115eb945acd9a27bf81c6c8923f43768f9e487a8)