test/dummytest.c:25: error: UNINITIALIZED_VALUE
  The value read from q was never initialized.
Showing all 1 steps of the trace


test/dummytest.c:25:12: 
23.   	if (!p) p = argv[0];
24.   	if (p) q = strchr(p, '.');
25. > 	if (p && !q) q = p + strlen(p);
26.   
27.   	if (!p)

int main(int argc, char *argv[])
	{
	char *p, *q, *program;
	p = strrchr(argv[0], '/');
	if (!p) p = strrchr(argv[0], '\\');
#ifdef OPENSSL_SYS_VMS
	if (!p) p = strrchr(argv[0], ']');
	if (p) q = strrchr(p, '>');
	if (q) p = q;
	if (!p) p = strrchr(argv[0], ':');
	q = 0;
#endif
	if (p) p++;
	if (!p) p = argv[0];
	if (p) q = strchr(p, '.');
	if (p && !q) q = p + strlen(p);
	if (!p)
		program = BUF_strdup("(unknown)");
	else
		{
		program = OPENSSL_malloc((q - p) + 1);
		strncpy(program, p, q - p);
		program[q - p] = '\0';
		}
	for(p = program; *p; p++)
		if (islower(*p)) *p = toupper(*p);
	q = strstr(program, "TEST");
	if (q > p && q[-1] == '_') q--;
	*q = '\0';
	printf("No %s support\n", program);
	OPENSSL_free(program);
	return(0);
	}
['int main(int argc, char *argv[])\n\t{\n\tchar *p, *q, *program;\n\tp = strrchr(argv[0], \'/\');\n\tif (!p) p = strrchr(argv[0], \'\\\\\');\n#ifdef OPENSSL_SYS_VMS\n\tif (!p) p = strrchr(argv[0], \']\');\n\tif (p) q = strrchr(p, \'>\');\n\tif (q) p = q;\n\tif (!p) p = strrchr(argv[0], \':\');\n\tq = 0;\n#endif\n\tif (p) p++;\n\tif (!p) p = argv[0];\n\tif (p) q = strchr(p, \'.\');\n\tif (p && !q) q = p + strlen(p);\n\tif (!p)\n\t\tprogram = BUF_strdup("(unknown)");\n\telse\n\t\t{\n\t\tprogram = OPENSSL_malloc((q - p) + 1);\n\t\tstrncpy(program, p, q - p);\n\t\tprogram[q - p] = \'\\0\';\n\t\t}\n\tfor(p = program; *p; p++)\n\t\tif (islower(*p)) *p = toupper(*p);\n\tq = strstr(program, "TEST");\n\tif (q > p && q[-1] == \'_\') q--;\n\t*q = \'\\0\';\n\tprintf("No %s support\\n", program);\n\tOPENSSL_free(program);\n\treturn(0);\n\t}']