crypto/asn1/a_time.c:104: error: NULL_DEREFERENCE
  pointer `ts` last assigned on line 102 could be null and is dereferenced at line 104, column 6.
Showing all 3 steps of the trace


crypto/asn1/a_time.c:92:1: start of procedure ASN1_TIME_set()
90.   
91.   
92. > ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t)
93.   	{
94.   	struct tm *ts;

crypto/asn1/a_time.c:102:2: 
100.   	ts=(struct tm *)gmtime_r(&t,&data);
101.   #else
102. > 	ts=(struct tm *)gmtime(&t);
103.   #endif
104.   	if((ts->tm_year >= 1950) && (ts->tm_year < 2050))

crypto/asn1/a_time.c:104:6: 
102.   	ts=(struct tm *)gmtime(&t);
103.   #endif
104. > 	if((ts->tm_year >= 1950) && (ts->tm_year < 2050))
105.   					return ASN1_UTCTIME_set(s, t);
106.   	return ASN1_GENERALIZEDTIME_set(s,t);
