mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 18:48:53 +00:00
- Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details. svn path=/trunk/; revision=29896
This commit is contained in:
parent
0b279a26b2
commit
36a91123ec
1 changed files with 13 additions and 5 deletions
|
@ -434,11 +434,19 @@ NtRequestWaitReplyPort(IN HANDLE PortHandle,
|
|||
(&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) &&
|
||||
|
|
Loading…
Reference in a new issue