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


crypto/rand/rand_lib.c:746:1: start of procedure RAND_seed()
744.   #endif
745.   
746. > void RAND_seed(const void *buf, int num)
747.   {
748.       const RAND_METHOD *meth = RAND_get_rand_method();

crypto/rand/rand_lib.c:748:5: 
746.   void RAND_seed(const void *buf, int num)
747.   {
748. >     const RAND_METHOD *meth = RAND_get_rand_method();
749.   
750.       if (meth->seed != NULL)

crypto/rand/rand_lib.c:686:1: start of procedure RAND_get_rand_method()
  684.   #endif
  685.   
  686. > const RAND_METHOD *RAND_get_rand_method(void)
  687.   {
  688.   #ifdef FIPS_MODE

crypto/rand/rand_lib.c:689:5: 
  687.   {
  688.   #ifdef FIPS_MODE
  689. >     return NULL;
  690.   #else
  691.       const RAND_METHOD *tmp_meth = NULL;

crypto/rand/rand_lib.c:718:1: return from a call to RAND_get_rand_method
  716.       return tmp_meth;
  717.   #endif
  718. > }
  719.   
  720.   #if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODE)

crypto/rand/rand_lib.c:750:9: 
748.       const RAND_METHOD *meth = RAND_get_rand_method();
749.   
750. >     if (meth->seed != NULL)
751.           meth->seed(buf, num);
752.   }
