- Make CSRSS properly fill out the ServerView structure's length so that it can be validated by the kernel.
svn path=/trunk/; revision=24677
ServerView);\r
\r
/* Validate the size of the server view */\r
- if ((ServerView) && (ServerView->Length != sizeof(PORT_VIEW)))\r
+ if ((ServerView) && (ServerView->Length != sizeof(REMOTE_PORT_VIEW)))\r
{\r
/* Invalid size */\r
return STATUS_INVALID_PARAMETER;\r
}\r
\r
/* Validate the size of the client view */\r
- if ((ClientView) && (ClientView->Length != sizeof(REMOTE_PORT_VIEW)))\r
+ if ((ClientView) && (ClientView->Length != sizeof(PORT_VIEW)))\r
{\r
/* Invalid size */\r
return STATUS_INVALID_PARAMETER;\r
for (;;)
{
REMOTE_PORT_VIEW LpcRead;
+ LpcRead.Length = sizeof(LpcRead);
ServerPort = NULL;
Status = NtListenPort (hApiListenPort, Request);