diff --git a/src/system/kernel/arch/x86/arch_cpu.cpp b/src/system/kernel/arch/x86/arch_cpu.cpp index d22afe6c02..aa7f0069a4 100644 --- a/src/system/kernel/arch/x86/arch_cpu.cpp +++ b/src/system/kernel/arch/x86/arch_cpu.cpp @@ -548,7 +548,7 @@ detect_cpu(int currentCPU) dprintf("CPU %d: vendor '%s' model name '%s'\n", currentCPU, cpu->arch.vendor_name, cpu->arch.model_name); } else { - strcpy(cpu->arch.model_name, "unknown"); + strlcpy(cpu->arch.model_name, "unknown", sizeof(cpu->arch.model_name)); } // load feature bits