diff --git a/ntoskrnl/ex/harderr.c b/ntoskrnl/ex/harderr.c index e8e233d81f6..10b6682e657 100644 --- a/ntoskrnl/ex/harderr.c +++ b/ntoskrnl/ex/harderr.c @@ -14,7 +14,7 @@ #define TAG_ERR ' rrE' -/* GLOBALS ****************************************************************/ +/* GLOBALS ******************************************************************/ BOOLEAN ExReadyForErrors = FALSE; PVOID ExpDefaultErrorPort = NULL; @@ -247,9 +247,12 @@ ExpRaiseHardError(IN NTSTATUS ErrorStatus, KeQuerySystemTime(&Message->ErrorTime); /* Copy the parameters */ - if (Parameters) RtlMoveMemory(&Message->Parameters, - Parameters, - sizeof(ULONG_PTR) * NumberOfParameters); + if (Parameters) + { + RtlMoveMemory(&Message->Parameters, + Parameters, + sizeof(ULONG_PTR) * NumberOfParameters); + } /* Send the LPC Message */ Status = LpcRequestWaitReplyPort(PortHandle,