crypto/conf/conf_lib.c:384: error: NULL_DEREFERENCE
  pointer `ret` last assigned on line 382 could be null and is dereferenced by call to `memset()` at line 384, column 5.
Showing all 3 steps of the trace


crypto/conf/conf_lib.c:380:1: start of procedure OPENSSL_INIT_new()
378.    * OpenSSL function pointers before the library is initialized.
379.    */
380. > OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void)
381.   {
382.       OPENSSL_INIT_SETTINGS *ret = malloc(sizeof(*ret));

crypto/conf/conf_lib.c:382:5: 
380.   OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void)
381.   {
382. >     OPENSSL_INIT_SETTINGS *ret = malloc(sizeof(*ret));
383.   
384.       memset(ret, 0, sizeof(*ret));

crypto/conf/conf_lib.c:384:5: 
382.       OPENSSL_INIT_SETTINGS *ret = malloc(sizeof(*ret));
383.   
384. >     memset(ret, 0, sizeof(*ret));
385.       return ret;
386.   }
