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


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

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

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

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

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

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

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