[openssl/openssl] 115eb9: Fix a mem leak in evp_pkey_export_to_provider
Todd Short
noreply at reply.github.openssl.org
Wed Jun 15 14:58:37 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: 115eb945acd9a27bf81c6c8923f43768f9e487a8
https://github.openssl.org/openssl/openssl/commit/115eb945acd9a27bf81c6c8923f43768f9e487a8
Author: K1 <dongbeiouba at gmail.com>
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 <tomas at openssl.org>
Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/18499)
More information about the openssl-commits
mailing list