[openssl/openssl] 168e49: test/threadstest.c: Add checks for CRYPTO_THREAD_l...
JiashengJiang
noreply at github.com
Mon May 6 08:28:02 UTC 2024
Branch: refs/heads/openssl-3.3
Home: https://github.com/openssl/openssl
Commit: 168e49b5ab9e110c2cf618d025418d480f5166d6
https://github.com/openssl/openssl/commit/168e49b5ab9e110c2cf618d025418d480f5166d6
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M test/threadstest.c
Log Message:
-----------
test/threadstest.c: Add checks for CRYPTO_THREAD_lock_new()
Add checks for the return value of CRYPTO_THREAD_lock_new() in order to avoid Null pointer dereference.
Fixes: 5f8b812931 ("Add locking to atomic operations in rw/rcu tests")
Fixes: d0e1a0ae70 ("RCU lock implementation")
Fixes: 71a04cfca0 ("Implement new multi-threading API")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24313)
(cherry picked from commit 327261c076b8468382e1effea14d79446cc22b4d)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list