mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 05:09:11 +08:00
[NTOS] Don't assert, when dispatching an exception to user mode fails
Instead continue with second chance handling.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user