Fix exception handling by not reseting PreviousMode to kernel when a
user-mode exception occurs. This fixes some winetest bugchecks
Modified: trunk/reactos/lib/rtl/exception.c
_____
Modified: trunk/reactos/lib/rtl/exception.c
--- trunk/reactos/lib/rtl/exception.c 2005-08-08 22:14:04 UTC (rev
17220)
+++ trunk/reactos/lib/rtl/exception.c 2005-08-09 00:02:24 UTC (rev
17221)
@@ -67,7 +67,7 @@
ExceptionRecord->ExceptionAddress =
(PVOID)(*(((PULONG)Context.Ebp)+1));
Context.ContextFlags = CONTEXT_FULL;
- Status = ZwRaiseException(ExceptionRecord, &Context, TRUE);
+ Status = NtRaiseException(ExceptionRecord, &Context, TRUE);
RtlRaiseException(ExceptionRecord);
RtlRaiseStatus(Status);
}
Show replies by date