mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix number 2
svn path=/branches/ros-amd64-bringup/; revision=44504
This commit is contained in:
@@ -169,7 +169,7 @@ KeUserModeCallback(IN ULONG RoutineIndex,
|
||||
|
||||
/* Save the exception list */
|
||||
Teb = KeGetCurrentThread()->Teb;
|
||||
ExceptionList = Teb->Tib.ExceptionList;
|
||||
ExceptionList = Teb->NtTib.ExceptionList;
|
||||
|
||||
/* Jump to user mode */
|
||||
*UserEsp = NewStack;
|
||||
@@ -177,7 +177,7 @@ KeUserModeCallback(IN ULONG RoutineIndex,
|
||||
if (CallbackStatus != STATUS_CALLBACK_POP_STACK)
|
||||
{
|
||||
/* Only restore the exception list if we didn't crash in ring 3 */
|
||||
Teb->Tib.ExceptionList = ExceptionList;
|
||||
Teb->NtTib.ExceptionList = ExceptionList;
|
||||
CallbackStatus = STATUS_SUCCESS;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user