]> git.ipfire.org Git - thirdparty/openssl.git/commit
x509_store: fix unreliable value of objs inside the second locked section
authorNikola Pajkovsky <nikolap@openssl.org>
Fri, 17 Oct 2025 15:29:21 +0000 (17:29 +0200)
committerNeil Horman <nhorman@openssl.org>
Tue, 21 Oct 2025 22:36:48 +0000 (18:36 -0400)
commit55a0adf220baa1ee25fa1bab846bde5d57b484e1
tree6787b33a36da8d3bd3cee60dd0641c4c2893542d
parentdfc6f643c09aba831d4856597ef9633dda2fb6c4
x509_store: fix unreliable value of objs inside the second locked section

objs has been incorrectly passed from one critical section to another
one.

Resolves: https://scan5.scan.coverity.com/#/project-view/65138/10222?selectedIssue=1667132
Fixes: 04589b59ef50 ("x509store: reduce lock contention in X509_STORE")
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28947)
crypto/x509/x509_lu.c