constRAND_METHOD *RAND_get_rand_method(void){constRAND_METHOD *tmp_meth =NULL;if(!RUN_ONCE(&rand_lock_init, do_rand_lock_init))returnNULL;CRYPTO_THREAD_write_lock(rand_meth_lock);if(!default_RAND_meth) {#ifndefOPENSSL_NO_ENGINEENGINE *e = ENGINE_get_default_RAND();if(e) { default...
Version: 1.1.1o-1 Platform: Linux 64 bit OS: CentOS 7 Reproducible: No The crash happened once in code that is called 1000's of times in our tests with no problem. It crashes in CRYPTO_THREAD_write_lock() while accessing the write lock. ...
It is possible for CRYPTO_THREAD_read_lock() and CRYPTO_THREAD_write_lock() to fail. For example if PTHREAD_MUTEX_ERRORCHECK is in use and we hit a deadlock then they will fail. Unfortunately while we do check for failure in some locatio...