- 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.

svn path=/trunk/; revision=43241
This commit is contained in:
Stefan Ginsberg 2009-09-30 18:31:26 +00:00
parent b42aaf88bb
commit b3e77ecf83

View file

@ -58,10 +58,12 @@ ExpSystemErrorHandler(IN NTSTATUS ErrorStatus,
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;