mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTOS:LPC] NtReplyWaitReceivePortEx returns the correct TotalLength for connect messages
This fixes the NtAcceptConnectPort apitest.
This commit is contained in:
@@ -664,7 +664,7 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle,
|
||||
Message = NULL;
|
||||
|
||||
/* Setup the receive message */
|
||||
ReceiveMessage->u1.s1.TotalLength = (CSHORT)(sizeof(LPCP_MESSAGE) +
|
||||
ReceiveMessage->u1.s1.TotalLength = (CSHORT)(sizeof(PORT_MESSAGE) +
|
||||
ConnectionInfoLength);
|
||||
ReceiveMessage->u1.s1.DataLength = (CSHORT)ConnectionInfoLength;
|
||||
RtlCopyMemory(ReceiveMessage + 1,
|
||||
|
||||
Reference in New Issue
Block a user