]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix duplicate mutex allocation in threads_win.c
authorNeil Horman <nhorman@openssl.org>
Wed, 10 Apr 2024 12:28:43 +0000 (08:28 -0400)
committerNeil Horman <nhorman@openssl.org>
Thu, 11 Apr 2024 16:22:33 +0000 (12:22 -0400)
commit8e5918fb8eb90289a0c89f6a4c6d623ecf49cf43
treef4ae4c732273bcce2642b57b45b82ca02187b419
parent491bbb444c4b654de14adc7031eb44e88a101edb
Fix duplicate mutex allocation in threads_win.c

Creating an rcu lock does a double allocation of the underlying mutex.
Not sure how asan didn't catch this, but we clearly have a duplicate
line here

Fixes #24085

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24086)
crypto/threads_win.c