[ros-diffs] [navaraf] 33438: Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again.

navaraf at svn.reactos.org navaraf at svn.reactos.org
Sun May 11 14:22:51 CEST 2008


Author: navaraf
Date: Sun May 11 07:22:51 2008
New Revision: 33438

URL: http://svn.reactos.org/svn/reactos?rev=33438&view=rev
Log:
Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again.

Modified:
    trunk/reactos/ntoskrnl/lpc/reply.c

Modified: trunk/reactos/ntoskrnl/lpc/reply.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/reply.c?rev=33438&r1=33437&r2=33438&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/lpc/reply.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/lpc/reply.c [iso-8859-1] Sun May 11 07:22:51 2008
@@ -165,7 +165,7 @@
     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 @@
             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 @@
         }
         _SEH_EXCEPT(_SEH_ExSystemExceptionFilter)
         {
+            DPRINT1("SEH crash [1]\n");
+	    DbgBreakPoint();
             Status = _SEH_GetExceptionCode();
         }
         _SEH_END;
@@ -492,6 +494,8 @@
     }
     _SEH_EXCEPT(_SEH_ExSystemExceptionFilter)
     {
+        DPRINT1("SEH crash [2]\n");
+        DbgBreakPoint();
         Status = _SEH_GetExceptionCode();
     }
     _SEH_END;



More information about the Ros-diffs mailing list