Author: fireball
Date: Fri Oct 26 13:02:24 2007
New Revision: 29896
URL:
http://svn.reactos.org/svn/reactos?rev=29896&view=rev
Log:
- Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details.
Modified:
trunk/reactos/ntoskrnl/lpc/close.c (props changed)
trunk/reactos/ntoskrnl/lpc/complete.c (props changed)
trunk/reactos/ntoskrnl/lpc/connect.c (props changed)
trunk/reactos/ntoskrnl/lpc/create.c (props changed)
trunk/reactos/ntoskrnl/lpc/listen.c (props changed)
trunk/reactos/ntoskrnl/lpc/port.c (props changed)
trunk/reactos/ntoskrnl/lpc/reply.c (props changed)
trunk/reactos/ntoskrnl/lpc/send.c (contents, props changed)
Propchange: trunk/reactos/ntoskrnl/lpc/close.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/complete.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/connect.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/create.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/listen.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/port.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/ntoskrnl/lpc/reply.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Modified: trunk/reactos/ntoskrnl/lpc/send.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/send.c?rev=29…
==============================================================================
--- trunk/reactos/ntoskrnl/lpc/send.c (original)
+++ trunk/reactos/ntoskrnl/lpc/send.c Fri Oct 26 13:02:24 2007
@@ -434,11 +434,19 @@
(&Message->Request) + 1);
/* Move the message */
- LpcpMoveMessage(LpcReply,
- &Message->Request,
- (&Message->Request) + 1,
- 0,
- NULL);
+ _SEH_TRY
+ {
+ LpcpMoveMessage(LpcReply,
+ &Message->Request,
+ (&Message->Request) + 1,
+ 0,
+ NULL);
+ }
+ _SEH_HANDLE
+ {
+ Status = _SEH_GetExceptionCode();
+ }
+ _SEH_END;
/* Check if this is an LPC request with data information */
if ((LpcpGetMessageType(&Message->Request) == LPC_REQUEST) &&
Propchange: trunk/reactos/ntoskrnl/lpc/send.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*