[ros-diffs] [sginsberg] 43241: - KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.
sginsberg at svn.reactos.org
sginsberg at svn.reactos.org
Wed Sep 30 20:31:26 CEST 2009
Author: sginsberg
Date: Wed Sep 30 20:31:26 2009
New Revision: 43241
URL: http://svn.reactos.org/svn/reactos?rev=43241&view=rev
Log:
- KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.
Modified:
trunk/reactos/ntoskrnl/ex/harderr.c
Modified: trunk/reactos/ntoskrnl/ex/harderr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/harderr.c?rev=43241&r1=43240&r2=43241&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ex/harderr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/harderr.c [iso-8859-1] Wed Sep 30 20:31:26 2009
@@ -58,10 +58,12 @@
IN PULONG_PTR Parameters,
IN BOOLEAN Shutdown)
{
+ ULONG_PTR Dummy[4] = {0, 0, 0, 0};
+
/* FIXME: STUB */
KeBugCheckEx(FATAL_UNHANDLED_HARD_ERROR,
ErrorStatus,
- 0,
+ (ULONG_PTR)Dummy,
0,
0);
return STATUS_SUCCESS;
More information about the Ros-diffs
mailing list