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


crypto/rand/rand_lib.c:731:1: start of procedure RAND_seed()
729.   #endif
730.   
731. > void RAND_seed(const void *buf, int num)
732.   {
733.       const RAND_METHOD *meth = RAND_get_rand_method();

crypto/rand/rand_lib.c:733:5: 
731.   void RAND_seed(const void *buf, int num)
732.   {
733. >     const RAND_METHOD *meth = RAND_get_rand_method();
734.   
735.       if (meth->seed != NULL)

crypto/rand/rand_lib.c:671:1: start of procedure RAND_get_rand_method()
  669.   #endif
  670.   
  671. > const RAND_METHOD *RAND_get_rand_method(void)
  672.   {
  673.   #ifdef FIPS_MODE

crypto/rand/rand_lib.c:674:5: 
  672.   {
  673.   #ifdef FIPS_MODE
  674. >     return NULL;
  675.   #else
  676.       const RAND_METHOD *tmp_meth = NULL;

crypto/rand/rand_lib.c:703:1: return from a call to RAND_get_rand_method
  701.       return tmp_meth;
  702.   #endif
  703. > }
  704.   
  705.   #if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODE)

crypto/rand/rand_lib.c:735:9: 
733.       const RAND_METHOD *meth = RAND_get_rand_method();
734.   
735. >     if (meth->seed != NULL)
736.           meth->seed(buf, num);
737.   }
