[FREELDR]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 20 Mar 2010 00:41:46 +0000 (00:41 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 20 Mar 2010 00:41:46 +0000 (00:41 +0000)
Make the char buffer in KeBugCheckEx big enough for the output string. Spottet by Russel.

svn path=/trunk/; revision=46282

reactos/boot/freeldr/freeldr/debug.c

index 0de49f5..4ab9096 100644 (file)
@@ -351,7 +351,7 @@ KeBugCheckEx(
     IN ULONG_PTR  BugCheckParameter3,
     IN ULONG_PTR  BugCheckParameter4)
 {
     IN ULONG_PTR  BugCheckParameter3,
     IN ULONG_PTR  BugCheckParameter4)
 {
-    char Buffer[64];
+    char Buffer[70];
     sprintf(Buffer, "*** STOP: 0x%08lX (0x%08lX, 0x%08lX, 0x%08lX, 0x%08lX)",
         BugCheckCode, BugCheckParameter1, BugCheckParameter2,
         BugCheckParameter3, BugCheckParameter4);
     sprintf(Buffer, "*** STOP: 0x%08lX (0x%08lX, 0x%08lX, 0x%08lX, 0x%08lX)",
         BugCheckCode, BugCheckParameter1, BugCheckParameter2,
         BugCheckParameter3, BugCheckParameter4);