From 5d583c3ac7f3d5f9d6a1d19a8d1f9faa064fa100 Mon Sep 17 00:00:00 2001 From: Philip Nilsson Date: Mon, 24 Mar 2008 21:53:49 +0100 Subject: [PATCH] msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL. --- dlls/msvcrt/except.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c index 4cb1436d22..296c656021 100644 --- a/dlls/msvcrt/except.c +++ b/dlls/msvcrt/except.c @@ -497,6 +497,7 @@ static LONG WINAPI msvcrt_exception_filter(struct _EXCEPTION_POINTERS *except) } break; case EXCEPTION_ILLEGAL_INSTRUCTION: + case EXCEPTION_PRIV_INSTRUCTION: if ((handler = sighandlers[MSVCRT_SIGILL]) != MSVCRT_SIG_DFL) { if (handler != MSVCRT_SIG_IGN)