crypto/mem_dbg.c:574: error: NULL_DEREFERENCE
  pointer `lcl` last assigned on line 571 could be null and is dereferenced at line 574, column 4.
Showing all 7 steps of the trace


crypto/mem_dbg.c:557:1: start of procedure print_leak()
555.   	} MEM_LEAK;
556.   
557. > static void print_leak(MEM *m, MEM_LEAK *l)
558.   	{
559.   	char buf[1024];

crypto/mem_dbg.c:560:2: 
558.   	{
559.   	char buf[1024];
560. > 	char *bufp = buf;
561.   	APP_INFO *amip;
562.   	int ami_cnt;

crypto/mem_dbg.c:563:2: 
561.   	APP_INFO *amip;
562.   	int ami_cnt;
563. > 	struct tm *lcl = NULL;
564.   	unsigned long ti;
565.   

crypto/mem_dbg.c:566:5: Taking false branch
564.   	unsigned long ti;
565.   
566.   	if(m->addr == (char *)l->bio)
           ^
567.   	    return;
568.   

crypto/mem_dbg.c:569:6: Taking true branch
567.   	    return;
568.   
569.   	if (options & V_CRYPTO_MDEBUG_TIME)
            ^
570.   		{
571.   		lcl = localtime(&m->time);

crypto/mem_dbg.c:571:3: 
569.   	if (options & V_CRYPTO_MDEBUG_TIME)
570.   		{
571. > 		lcl = localtime(&m->time);
572.   	
573.   		sprintf(bufp, "[%02d:%02d:%02d] ",

crypto/mem_dbg.c:573:3: 
571.   		lcl = localtime(&m->time);
572.   	
573. > 		sprintf(bufp, "[%02d:%02d:%02d] ",
574.   			lcl->tm_hour,lcl->tm_min,lcl->tm_sec);
575.   		bufp += strlen(bufp);
