Call the correct user mode dispatch function in KiDispatchException. The bug was...
[reactos.git] / reactos / ntoskrnl / ke / catch.c
index cb40d20..c51765c 100644 (file)
@@ -161,7 +161,7 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
                     DPRINT1("User-mode stack was invalid. Terminating target thread\n");
                 }
                 /* Set EIP to the User-mode Dispathcer */
-                Tf->Eip = (ULONG)KeRaiseUserExceptionDispatcher;
+                Tf->Eip = (ULONG)KeUserExceptionDispatcher;
                 return;
             }