CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error
authorTomas Mraz <tomas@openssl.org>
Mon, 3 Oct 2022 13:23:05 +0000 (15:23 +0200)
committerPauli <pauli@openssl.org>
Tue, 4 Oct 2022 23:20:10 +0000 (10:20 +1100)
commit894f2166ef2c16d8e4533e1c09e05ff31ea2f1d8
tree1c74625f8bf9e9dd3642793cabe26cddead10050
parented49476a16b8ff2688a53a2ba7e011e6911620f8
CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error

Fixes #19334

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19335)
crypto/threads_none.c
crypto/threads_pthread.c
crypto/threads_win.c