- fix Buffer overflow in CmpHiveRootSecurityDescriptor

- patch by w3seek
See issue #2401 for more details.

svn path=/trunk/; revision=27625
This commit is contained in:
Johannes Anderwald 2007-07-13 09:34:16 +00:00
parent 456cbf9376
commit ea4c53340d

View file

@ -24,7 +24,7 @@ CmpHiveRootSecurityDescriptor(VOID)
NTSTATUS Status;
PSECURITY_DESCRIPTOR SecurityDescriptor;
PACL Acl, AclCopy;
PSID Sid[3];
PSID Sid[4];
SID_IDENTIFIER_AUTHORITY WorldAuthority = {SECURITY_WORLD_SID_AUTHORITY};
SID_IDENTIFIER_AUTHORITY NtAuthority = {SECURITY_NT_AUTHORITY};
ULONG AceLength, AclLength, SidLength;