[ros-diffs] [pschweitzer] 49654: [NTOSKRNL/PPC] Fix index out of bounds

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Sat Nov 20 10:22:38 UTC 2010


Author: pschweitzer
Date: Sat Nov 20 10:22:36 2010
New Revision: 49654

URL: http://svn.reactos.org/svn/reactos?rev=49654&view=rev
Log:
[NTOSKRNL/PPC]
Fix index out of bounds

Modified:
    trunk/reactos/ntoskrnl/config/powerpc/cmhardwr.c

Modified: trunk/reactos/ntoskrnl/config/powerpc/cmhardwr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/powerpc/cmhardwr.c?rev=49654&r1=49653&r2=49654&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/config/powerpc/cmhardwr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/powerpc/cmhardwr.c [iso-8859-1] Sat Nov 20 10:22:36 2010
@@ -446,7 +446,7 @@
                         }
 
                         /* Null-terminate it */
-                        CpuString[48] = ANSI_NULL;
+                        CpuString[47] = ANSI_NULL;
                     }
                 }
 




More information about the Ros-diffs mailing list