From 59a9bf1efcfed1958e55da86c0654c608664a73f Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 5 Feb 2005 21:04:17 +0000 Subject: [PATCH] Prevent buffer overflow on SMP systems. The buffer may be filled with 'Unknown CPU with family ID %ld and model ID %ld. Patch by Herve Poussineau. svn path=/trunk/; revision=13427 --- reactos/hal/halx86/mp/processor_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/hal/halx86/mp/processor_mp.c b/reactos/hal/halx86/mp/processor_mp.c index 2526ca9cf8a..1721703f7b2 100644 --- a/reactos/hal/halx86/mp/processor_mp.c +++ b/reactos/hal/halx86/mp/processor_mp.c @@ -1220,7 +1220,7 @@ ULONG MPChecksum(PUCHAR Base, PCHAR HaliMPFamily(ULONG Family, ULONG Model) { - static CHAR str[32]; + static CHAR str[64]; static PCHAR CPUs[] = { "80486DX", "80486DX",