crypto/async/async.c:331: error: NULL_DEREFERENCE
  pointer `null` is dereferenced by call to `ossl_init_thread_start()` at line 331, column 10.
Showing all 5 steps of the trace


crypto/async/async.c:318:1: start of procedure ASYNC_init_thread()
316.   }
317.   
318. > int ASYNC_init_thread(size_t max_size, size_t init_size)
319.   {
320.       async_pool *pool;

crypto/async/async.c:321:5: 
319.   {
320.       async_pool *pool;
321. >     size_t curr_size = 0;
322.   
323.       if (init_size > max_size) {

crypto/async/async.c:323:9: Taking false branch
321.       size_t curr_size = 0;
322.   
323.       if (init_size > max_size) {
               ^
324.           ASYNCerr(ASYNC_F_ASYNC_INIT_THREAD, ASYNC_R_INVALID_POOL_SIZE);
325.           return 0;

crypto/async/async.c:328:10: Taking false branch
326.       }
327.   
328.       if (!OPENSSL_init_crypto(OPENSSL_INIT_ASYNC, NULL))
                ^
329.           return 0;
330.   

crypto/async/async.c:331:10: 
329.           return 0;
330.   
331. >     if (!ossl_init_thread_start(NULL, NULL, async_delete_thread_state))
332.           return 0;
333.   
