mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[NTOS] Don't assert, when dispatching an exception to user mode fails
Instead continue with second chance handling.
This commit is contained in:
parent
b3a8f8611d
commit
786017c5b6
|
@ -361,9 +361,10 @@ KiDispatchException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
/* Forward exception to user mode debugger */
|
/* Forward exception to user mode debugger */
|
||||||
if (DbgkForwardException(ExceptionRecord, TRUE, FALSE)) return;
|
if (DbgkForwardException(ExceptionRecord, TRUE, FALSE)) return;
|
||||||
|
|
||||||
/* Forward exception to user mode (does not return) */
|
/* Forward exception to user mode (does not return, if successful) */
|
||||||
KiDispatchExceptionToUser(TrapFrame, &Context, ExceptionRecord);
|
KiDispatchExceptionToUser(TrapFrame, &Context, ExceptionRecord);
|
||||||
NT_ASSERT(FALSE);
|
|
||||||
|
/* Failed to dispatch, fall through for second chance handling */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Try second chance */
|
/* Try second chance */
|
||||||
|
|
Loading…
Reference in a new issue