diff --git a/cpudetect.c b/cpudetect.c index ac0fba6906..dda1b0f8ad 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -246,6 +246,7 @@ char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){ } } } + retname[255] = 0; //printf("Detected CPU: %s\n", retname); return retname;