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=4... ============================================================================== --- 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;