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
This commit is contained in:
Alex Ionescu 2005-02-05 21:04:17 +00:00
parent 75f792014d
commit 59a9bf1efc

View file

@ -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",