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


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

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

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

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

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

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

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