crypto/rand/rand_lib.c:914: error: NULL_DEREFERENCE
  pointer `meth` last assigned on line 912 could be null and is dereferenced at line 914, column 9.
Showing all 6 steps of the trace


crypto/rand/rand_lib.c:910:1: start of procedure RAND_status()
908.   #endif
909.   
910. > int RAND_status(void)
911.   {
912.       const RAND_METHOD *meth = RAND_get_rand_method();

crypto/rand/rand_lib.c:912:5: 
910.   int RAND_status(void)
911.   {
912. >     const RAND_METHOD *meth = RAND_get_rand_method();
913.   
914.       if (meth->status != NULL)

crypto/rand/rand_lib.c:770:1: start of procedure RAND_get_rand_method()
  768.   #endif
  769.   
  770. > const RAND_METHOD *RAND_get_rand_method(void)
  771.   {
  772.   #ifdef FIPS_MODE

crypto/rand/rand_lib.c:773:5: 
  771.   {
  772.   #ifdef FIPS_MODE
  773. >     return NULL;
  774.   #else
  775.       const RAND_METHOD *tmp_meth = NULL;

crypto/rand/rand_lib.c:802:1: return from a call to RAND_get_rand_method
  800.       return tmp_meth;
  801.   #endif
  802. > }
  803.   
  804.   #if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODE)

crypto/rand/rand_lib.c:914:9: 
912.       const RAND_METHOD *meth = RAND_get_rand_method();
913.   
914. >     if (meth->status != NULL)
915.           return meth->status();
916.       return 0;
