[NTOSKRNL/PPC]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 20 Nov 2010 10:22:36 +0000 (10:22 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 20 Nov 2010 10:22:36 +0000 (10:22 +0000)
Fix index out of bounds

svn path=/trunk/; revision=49654

reactos/ntoskrnl/config/powerpc/cmhardwr.c

index a14d90a..f620f73 100644 (file)
@@ -446,7 +446,7 @@ CmpInitializeMachineDependentConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBloc
                         }
 
                         /* Null-terminate it */
-                        CpuString[48] = ANSI_NULL;
+                        CpuString[47] = ANSI_NULL;
                     }
                 }