- Fix a serious bug in KiDispatchException; DbgkForwardException got called with the SecondChance parameter set to FALSE when forwarding second chance exceptions to user mode debuggers! This bug, introduced in revision 23802, made second chance exceptions appear as first chance to user mode debuggers (meaning unhandled exceptions wouldn't get caught). Bug exposed by the ntdll winetest.

svn path=/trunk/; revision=41837
This commit is contained in:
Stefan Ginsberg 2009-07-10 01:06:09 +00:00
parent e421f65c2b
commit 2dbd55ac66

View file

@ -1029,7 +1029,7 @@ DispatchToUser:
}
/* Try second chance */
if (DbgkForwardException(ExceptionRecord, TRUE, FALSE))
if (DbgkForwardException(ExceptionRecord, TRUE, TRUE))
{
/* Handled, get out */
goto Exit;