crypto/mem.c:590: error: UNINITIALIZED_VALUE
  The value read from ti was never initialized.
Showing all 1 steps of the trace


crypto/mem.c:590:16: 
588.   	if (amip)
589.   		ti=amip->thread;
590. > 	while(amip && amip->thread == ti)
591.   		{
592.   		int buf_len;

static void print_leak(MEM *m, MEM_LEAK *l)
	{
	char buf[128];
	APP_INFO *amip;
	int ami_cnt;
#ifdef CRYPTO_MDEBUG_TIME
	struct tm *lcl;
#endif
	unsigned long ti;
	if(m->addr == (char *)l->bio)
	    return;
#ifdef CRYPTO_MDEBUG_TIME
	lcl = localtime(&m->time);
#endif
	sprintf(buf,
#ifdef CRYPTO_MDEBUG_TIME
		"[%02d:%02d:%02d] "
#endif
		"%5lu file=%s, line=%d, "
#ifdef CRYPTO_MDEBUG_THREAD
		"thread=%lu, "
#endif
		"number=%d, address=%08lX\n",
#ifdef CRYPTO_MDEBUG_TIME
		lcl->tm_hour,lcl->tm_min,lcl->tm_sec,
#endif
		m->order,m->file,m->line,
#ifdef CRYPTO_MDEBUG_THREAD
		m->thread,
#endif
		m->num,(unsigned long)m->addr);
	BIO_puts(l->bio,buf);
	l->chunks++;
	l->bytes+=m->num;
	amip=m->app_info;
	ami_cnt=0;
	if (amip)
		ti=amip->thread;
	while(amip && amip->thread == ti)
		{
		int buf_len;
		int info_len;
		ami_cnt++;
		memset(buf,'>',ami_cnt);
		sprintf(buf + ami_cnt,
			"thread=%lu, file=%s, line=%d, info=\"",
			amip->thread, amip->file, amip->line);
		buf_len=strlen(buf);
		info_len=strlen(amip->info);
		if (128 - buf_len - 3 < info_len)
			{
			memcpy(buf + buf_len, amip->info, 128 - buf_len - 3);
			buf_len = 128 - 3;
			}
		else
			{
			strcpy(buf + buf_len, amip->info);
			buf_len = strlen(buf);
			}
		sprintf(buf + buf_len, "\"\n");
		BIO_puts(l->bio,buf);
		amip = amip->next;
		}
#ifdef LEVITTE_DEBUG
	if (amip)
		{
		fprintf(stderr, "Thread switch detected i backtrace!!!!\n");
		abort();
		}
#endif
	}
['static void print_leak(MEM *m, MEM_LEAK *l)\n\t{\n\tchar buf[128];\n\tAPP_INFO *amip;\n\tint ami_cnt;\n#ifdef CRYPTO_MDEBUG_TIME\n\tstruct tm *lcl;\n#endif\n\tunsigned long ti;\n\tif(m->addr == (char *)l->bio)\n\t    return;\n#ifdef CRYPTO_MDEBUG_TIME\n\tlcl = localtime(&m->time);\n#endif\n\tsprintf(buf,\n#ifdef CRYPTO_MDEBUG_TIME\n\t\t"[%02d:%02d:%02d] "\n#endif\n\t\t"%5lu file=%s, line=%d, "\n#ifdef CRYPTO_MDEBUG_THREAD\n\t\t"thread=%lu, "\n#endif\n\t\t"number=%d, address=%08lX\\n",\n#ifdef CRYPTO_MDEBUG_TIME\n\t\tlcl->tm_hour,lcl->tm_min,lcl->tm_sec,\n#endif\n\t\tm->order,m->file,m->line,\n#ifdef CRYPTO_MDEBUG_THREAD\n\t\tm->thread,\n#endif\n\t\tm->num,(unsigned long)m->addr);\n\tBIO_puts(l->bio,buf);\n\tl->chunks++;\n\tl->bytes+=m->num;\n\tamip=m->app_info;\n\tami_cnt=0;\n\tif (amip)\n\t\tti=amip->thread;\n\twhile(amip && amip->thread == ti)\n\t\t{\n\t\tint buf_len;\n\t\tint info_len;\n\t\tami_cnt++;\n\t\tmemset(buf,\'>\',ami_cnt);\n\t\tsprintf(buf + ami_cnt,\n\t\t\t"thread=%lu, file=%s, line=%d, info=\\"",\n\t\t\tamip->thread, amip->file, amip->line);\n\t\tbuf_len=strlen(buf);\n\t\tinfo_len=strlen(amip->info);\n\t\tif (128 - buf_len - 3 < info_len)\n\t\t\t{\n\t\t\tmemcpy(buf + buf_len, amip->info, 128 - buf_len - 3);\n\t\t\tbuf_len = 128 - 3;\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\tstrcpy(buf + buf_len, amip->info);\n\t\t\tbuf_len = strlen(buf);\n\t\t\t}\n\t\tsprintf(buf + buf_len, "\\"\\n");\n\t\tBIO_puts(l->bio,buf);\n\t\tamip = amip->next;\n\t\t}\n#ifdef LEVITTE_DEBUG\n\tif (amip)\n\t\t{\n\t\tfprintf(stderr, "Thread switch detected i backtrace!!!!\\n");\n\t\tabort();\n\t\t}\n#endif\n\t}']