[ros-dev] [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.
Alex Ionescu
ionucu at videotron.ca
Thu Oct 1 00:03:48 CEST 2009
And the reason you couldn't pass Parameters?
Best regards,
Alex Ionescu
On Wed, Sep 30, 2009 at 2:31 PM, <sginsberg at svn.reactos.org> wrote:
> 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-dev
mailing list