Signed-off-by: Sitsofe Wheeler <sitsofe@xxxxxxxxx> --- arch/arch-x86-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arch-x86-common.h b/arch/arch-x86-common.h index 179572d..26a14a8 100644 --- a/arch/arch-x86-common.h +++ b/arch/arch-x86-common.h @@ -60,6 +60,7 @@ static inline int arch_init(char *envp[]) (unsigned int *) &str[8], (unsigned int *) &str[4]); + str[11] = '\0'; if (!strcmp(str, "GenuineIntel")) tsc_reliable = arch_init_intel(level); else if (!strcmp(str, "AuthenticAMD")) -- 1.8.5.3 -- Sitsofe | http://sucs.org/~sits/ -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html