openssl/crypto/hpke
Niels Dossche 8ff6edb9da Fix potential memory leak in OSSL_HPKE_CTX_new()
ctx->propq is a duplicated string, but the error code does not free
the duplicated string's memory. If e.g. EVP_CIPHER_fetch() fails then
we can leak the string's memory.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25812)
2024-10-30 11:58:16 +00:00
..
build.info
hpke_util.c Add additional internal HPKE hardening checks resulting from code audit. 2023-11-03 09:10:19 +01:00
hpke.c Fix potential memory leak in OSSL_HPKE_CTX_new() 2024-10-30 11:58:16 +00:00