From b3e77ecf83bb7541147db9bcea5a7695291a3284 Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Wed, 30 Sep 2009 18:31:26 +0000 Subject: [PATCH] - 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 --- reactos/ntoskrnl/ex/harderr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ex/harderr.c b/reactos/ntoskrnl/ex/harderr.c index cdf38040257..e3f15850412 100644 --- a/reactos/ntoskrnl/ex/harderr.c +++ b/reactos/ntoskrnl/ex/harderr.c @@ -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;