]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a leak in an error path in OSSL_DECODER_CTX_new_for_pkey()
authorMatt Caswell <matt@openssl.org>
Fri, 11 Aug 2023 10:22:02 +0000 (11:22 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 15 Aug 2023 13:50:37 +0000 (14:50 +0100)
commit3d254b31344e82b8f10fda8bab196757a377eb63
tree06d520ff39554546c624c9793eda0dbb6b1114f7
parent643f542a89bee93e043d0899b2a1ca700d1cc418
Fix a leak in an error path in OSSL_DECODER_CTX_new_for_pkey()

Found via the reproducible error injection in #21668

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/21723)
crypto/encode_decode/decoder_pkey.c