]> git.ipfire.org Git - thirdparty/openssl.git/commit
quic_tls.c: Precede double free on EVP_MD variable
authorNorbert Pocs <norbertp@openssl.org>
Wed, 28 May 2025 14:28:54 +0000 (16:28 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 30 May 2025 10:55:23 +0000 (06:55 -0400)
commit17dcf0087af89c899ef4918ae5ce6d32860a30c9
treeb425f5207232c9c1e18ef66f3ed3b641d973bff2
parent56b7487784cfd56e5b3ba33c774b9cb276d98140
quic_tls.c: Precede double free on EVP_MD variable

When external quic implementation is used, the variable is not used and
double free happens whe the yield_secret_cb fails.

Resolves: #27504

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27713)

(cherry picked from commit 258d3a695e32828df7dbda6ee9ae67d31e128f62)
ssl/quic/quic_tls.c