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


crypto/rand/rand_lib.c:830:1: start of procedure RAND_seed()
828.   #endif
829.   
830. > void RAND_seed(const void *buf, int num)
831.   {
832.       const RAND_METHOD *meth = RAND_get_rand_method();

crypto/rand/rand_lib.c:832:5: 
830.   void RAND_seed(const void *buf, int num)
831.   {
832. >     const RAND_METHOD *meth = RAND_get_rand_method();
833.   
834.       if (meth->seed != 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:834:9: 
832.       const RAND_METHOD *meth = RAND_get_rand_method();
833.   
834. >     if (meth->seed != NULL)
835.           meth->seed(buf, num);
836.   }
