From 44a984e920abb3ac9aa0a1ddf741807eb98fabe0 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 11 May 2008 12:22:51 +0000 Subject: [PATCH] Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again. svn path=/trunk/; revision=33438 --- reactos/ntoskrnl/lpc/reply.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/lpc/reply.c b/reactos/ntoskrnl/lpc/reply.c index a0630ac1d8b..bd2c9ad4027 100644 --- a/reactos/ntoskrnl/lpc/reply.c +++ b/reactos/ntoskrnl/lpc/reply.c @@ -165,7 +165,7 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle, PETHREAD Thread = PsGetCurrentThread(), WakeupThread; PLPCP_CONNECTION_MESSAGE ConnectMessage; ULONG ConnectionInfoLength; - PORT_MESSAGE CapturedReplyMessage; + //PORT_MESSAGE CapturedReplyMessage; LARGE_INTEGER CapturedTimeout; PAGED_CODE(); @@ -183,8 +183,8 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle, if (ReplyMessage != NULL) { ProbeForRead(ReplyMessage, sizeof(PORT_MESSAGE), sizeof(ULONG)); - RtlCopyMemory(&CapturedReplyMessage, ReplyMessage, sizeof(PORT_MESSAGE)); - ReplyMessage = &CapturedReplyMessage; + /*RtlCopyMemory(&CapturedReplyMessage, ReplyMessage, sizeof(PORT_MESSAGE)); + ReplyMessage = &CapturedReplyMessage;*/ } if (Timeout != NULL) @@ -199,6 +199,8 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle, } _SEH_EXCEPT(_SEH_ExSystemExceptionFilter) { + DPRINT1("SEH crash [1]\n"); + DbgBreakPoint(); Status = _SEH_GetExceptionCode(); } _SEH_END; @@ -492,6 +494,8 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle, } _SEH_EXCEPT(_SEH_ExSystemExceptionFilter) { + DPRINT1("SEH crash [2]\n"); + DbgBreakPoint(); Status = _SEH_GetExceptionCode(); } _SEH_END;