]> 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:04:30 +0000 (07:04 +0200)
commit28a67a380036f797e68fbe76d32e855e5b19de43
tree60737178a5c923410d9b19d99a1caabf9746c3a7
parent0df90eee942f8aada919d69ef1cc61a0f7def3c4
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