Fix buffer length error code for NtQueryInformationToken.
This commit is contained in:
parent
0348649853
commit
0f5db95401
|
@ -225,7 +225,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
|
|||
*retlen = len;
|
||||
|
||||
if (tokeninfolength < len)
|
||||
return STATUS_INFO_LENGTH_MISMATCH;
|
||||
return STATUS_BUFFER_TOO_SMALL;
|
||||
|
||||
switch (tokeninfoclass)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue