[ros-diffs] [ion] 17221: Fix exception handling by not reseting
PreviousMode to kernel when a user-mode exception occurs.
This fixes some winetest bugchecks
ion at svn.reactos.com
ion at svn.reactos.com
Tue Aug 9 02:02:29 CEST 2005
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);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050809/b6dcc797/attachment.html
More information about the Ros-diffs
mailing list