summaryrefslogtreecommitdiffstats
path: root/providers
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-06-03 14:01:22 +0100
committerMatt Caswell <matt@openssl.org>2022-06-08 15:35:10 +0100
commitc8103f68ab60d8f47ce40f1e0cd3de05878424a2 (patch)
tree166d8f43ee592bb0311619af9f2aa20f40f58a7a /providers
parent9f3626f2473bdce53e85eba96e502e950e29e16f (diff)
Fix a mem leak in evp_pkey_copy_downgraded()
If we get a failure during evp_pkey_copy_downgraded() and on entry *dest was NULL then we leak the EVP_PKEY that was automatically allocated and stored in *dest. Found due to this comment: https://github.com/openssl/openssl/pull/18355#issuecomment-1145028315 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18470)
Diffstat (limited to 'providers')
0 files changed, 0 insertions, 0 deletions