mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[BASESRV] Use the correct value for the last parameter of a CsrValidateMessageBuffer() call.
This commit is contained in:
parent
bd2a40d57b
commit
c7c0b09eb6
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ CSR_API(BaseSrvNlsGetUserInfo)
|
|||
PBASE_NLS_GET_USER_INFO NlsMsg = &((PBASE_API_MESSAGE)ApiMessage)->Data.NlsGetUserInfo;
|
||||
|
||||
/* Make sure the buffer is valid and of the right size */
|
||||
if ((CsrValidateMessageBuffer(ApiMessage, &NlsMsg->NlsUserInfo, NlsMsg->Size, TRUE)) &&
|
||||
if ((CsrValidateMessageBuffer(ApiMessage, &NlsMsg->NlsUserInfo, NlsMsg->Size, sizeof(BYTE))) &&
|
||||
(NlsMsg->Size == sizeof(NLS_USER_INFO)))
|
||||
{
|
||||
/* Acquire the lock to prevent updates while we copy */
|
||||
|
|
Loading…
Reference in a new issue