[NTOS:PS] Fix copypasta in NtQueryInformationJobObject. CID 1441354

This commit is contained in:
Thomas Faber 2021-10-30 19:43:27 -04:00
parent 34f2b7830d
commit e8b79e89eb
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -546,10 +546,10 @@ NtQueryInformationJobObject (
ProbeForWrite(JobInformation, JobInformationLength, RequiredAlign);
}
/* But also return lenght if asked */
/* But also return length if asked */
if (ReturnLength != NULL)
{
ProbeForWrite(JobInformation, sizeof(ULONG), sizeof(ULONG));
ProbeForWriteUlong(ReturnLength);
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)