]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix CRYPTO_atomic_store
authorNeil Horman <nhorman@openssl.org>
Mon, 22 Jul 2024 21:17:54 +0000 (17:17 -0400)
committerNeil Horman <nhorman@openssl.org>
Wed, 31 Jul 2024 12:05:53 +0000 (08:05 -0400)
commit3190f5c06bd23ae4ddc659409e77070a6caa1539
tree8a3fc146b91739fa878f32dd177d1a77e0e042c0
parent454ca902c7d5337249172b38efc5e4fd63f483f4
Fix CRYPTO_atomic_store

If the implementation of this function falls to using a pthread lock to
update a value, it should be a write lock, not a read lock

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