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


crypto/mem_dbg.c:591:1: start of procedure print_leak()
589.   	} MEM_LEAK;
590.   
591. > static void print_leak(const MEM *m, MEM_LEAK *l)
592.   	{
593.   	char buf[1024];

crypto/mem_dbg.c:594:2: 
592.   	{
593.   	char buf[1024];
594. > 	char *bufp = buf;
595.   	APP_INFO *amip;
596.   	int ami_cnt;

crypto/mem_dbg.c:597:2: 
595.   	APP_INFO *amip;
596.   	int ami_cnt;
597. > 	struct tm *lcl = NULL;
598.   	unsigned long ti;
599.   

crypto/mem_dbg.c:600:5: Taking false branch
598.   	unsigned long ti;
599.   
600.   	if(m->addr == (char *)l->bio)
           ^
601.   	    return;
602.   

crypto/mem_dbg.c:603:6: Taking true branch
601.   	    return;
602.   
603.   	if (options & V_CRYPTO_MDEBUG_TIME)
            ^
604.   		{
605.   		lcl = localtime(&m->time);

crypto/mem_dbg.c:605:3: 
603.   	if (options & V_CRYPTO_MDEBUG_TIME)
604.   		{
605. > 		lcl = localtime(&m->time);
606.   	
607.   		sprintf(bufp, "[%02d:%02d:%02d] ",

crypto/mem_dbg.c:607:3: 
605.   		lcl = localtime(&m->time);
606.   	
607. > 		sprintf(bufp, "[%02d:%02d:%02d] ",
608.   			lcl->tm_hour,lcl->tm_min,lcl->tm_sec);
609.   		bufp += strlen(bufp);
