From cc07f4e2d75e8340b81e5415d41f78ba7f065ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 4 Jun 2007 14:49:28 +0000 Subject: [PATCH] Reapply r18676/r18677 (dispatch.S part) on w3seek advice. Fixes vmwinst.exe crash on 2nd stage in qemu svn path=/trunk/; revision=26993 --- reactos/dll/ntdll/main/i386/dispatch.S | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reactos/dll/ntdll/main/i386/dispatch.S b/reactos/dll/ntdll/main/i386/dispatch.S index 9ad3a141087..ff15c626c12 100644 --- a/reactos/dll/ntdll/main/i386/dispatch.S +++ b/reactos/dll/ntdll/main/i386/dispatch.S @@ -211,9 +211,17 @@ _KiUserExceptionDispatcher@8: mov ecx, [esp+4] mov ebx, [esp] - /* Dispatch the exception */ + /* Call the vectored exception handler */ push ecx push ebx + call _RtlpExecuteVectoredExceptionHandlers@8 + + /* Check for success */ + or al, al + jnz ContinueExecution + + /* Dispatch the exception */ + sub esp, 8 call _RtlDispatchException@8 /* Check for success */