mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +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
1 changed files with 3 additions and 2 deletions
|
@ -361,9 +361,10 @@ KiDispatchException(IN PEXCEPTION_RECORD ExceptionRecord,
|
|||
/* Forward exception to user mode debugger */
|
||||
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);
|
||||
NT_ASSERT(FALSE);
|
||||
|
||||
/* Failed to dispatch, fall through for second chance handling */
|
||||
}
|
||||
|
||||
/* Try second chance */
|
||||
|
|
Loading…
Reference in a new issue