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


crypto/rand/rand_lib.c:864:1: start of procedure RAND_status()
862.   #endif
863.   
864. > int RAND_status(void)
865.   {
866.       const RAND_METHOD *meth = RAND_get_rand_method();

crypto/rand/rand_lib.c:866:5: 
864.   int RAND_status(void)
865.   {
866. >     const RAND_METHOD *meth = RAND_get_rand_method();
867.   
868.       if (meth->status != NULL)

crypto/rand/rand_lib.c:724:1: start of procedure RAND_get_rand_method()
  722.   #endif
  723.   
  724. > const RAND_METHOD *RAND_get_rand_method(void)
  725.   {
  726.   #ifdef FIPS_MODE

crypto/rand/rand_lib.c:727:5: 
  725.   {
  726.   #ifdef FIPS_MODE
  727. >     return NULL;
  728.   #else
  729.       const RAND_METHOD *tmp_meth = NULL;

crypto/rand/rand_lib.c:756:1: return from a call to RAND_get_rand_method
  754.       return tmp_meth;
  755.   #endif
  756. > }
  757.   
  758.   #if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODE)

crypto/rand/rand_lib.c:868:9: 
866.       const RAND_METHOD *meth = RAND_get_rand_method();
867.   
868. >     if (meth->status != NULL)
869.           return meth->status();
870.       return 0;
