]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix another memory order issue
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 15 Sep 2025 19:12:37 +0000 (21:12 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 19 Sep 2025 05:05:04 +0000 (07:05 +0200)
commiteec456fc7b513ae32e6941f8cb5c0726ea0fbbd4
tree1810a495caa3e24f68dd2f1b121cfb011217d3c9
parente800c459ee502e968c48a3889a947241560d2256
Fix another memory order issue

this adds another release/acquire link between update_qp and
get_hold_current_qp via the reader_idx because the current
one which is based on the qp users count is only preventing
a race condition, but does not help when the reader acquires
the next qp.

Fixes #27267

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28585)

(cherry picked from commit d296f9653345d79ee316c053f63a489f001565a5)
crypto/threads_pthread.c