mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
Fix handling of invalid memory accesses by the stub
svn path=/trunk/; revision=5765
This commit is contained in:
parent
1aa98eb415
commit
a15a37fcab
|
@ -1003,8 +1003,7 @@ KdEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
||||||
{
|
{
|
||||||
GspAccessLocation = NULL;
|
GspAccessLocation = NULL;
|
||||||
GspMemoryError = TRUE;
|
GspMemoryError = TRUE;
|
||||||
TrapFrame->Eip += 2;
|
Context->Eip += 2;
|
||||||
ExceptionRecord->ExceptionFlags &= ~EXCEPTION_NONCONTINUABLE;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1255,7 +1254,7 @@ GspSetSingleRegisterInTrapFrame (ptr, Register, Context, TrapFrame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return kdDoNotHandleException;
|
return kdHandleException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue