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.
Modified: trunk/reactos/hal/halx86/mp/processor_mp.c
_____
Modified: trunk/reactos/hal/halx86/mp/processor_mp.c
--- trunk/reactos/hal/halx86/mp/processor_mp.c 2005-02-05 19:16:14 UTC
(rev 13426)
+++ trunk/reactos/hal/halx86/mp/processor_mp.c 2005-02-05 21:04:17 UTC
(rev 13427)
@@ -1220,7 +1220,7 @@
PCHAR HaliMPFamily(ULONG Family,
ULONG Model)
{
- static CHAR str[32];
+ static CHAR str[64];
static PCHAR CPUs[] =
{
"80486DX", "80486DX",
Show replies by date