mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 23:22:48 +08:00
Fix exception handling by not reseting PreviousMode to kernel when a user-mode exception occurs. This fixes some winetest bugchecks
svn path=/trunk/; revision=17221
This commit is contained in:
@@ -67,7 +67,7 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user