Skip to content

Commit ea4c533

Browse files
committed
- fix Buffer overflow in CmpHiveRootSecurityDescriptor
- patch by w3seek See issue reactos#2401 for more details. svn path=/trunk/; revision=27625
1 parent 456cbf9 commit ea4c533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reactos/ntoskrnl/config/cmse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CmpHiveRootSecurityDescriptor(VOID)
2424
NTSTATUS Status;
2525
PSECURITY_DESCRIPTOR SecurityDescriptor;
2626
PACL Acl, AclCopy;
27-
PSID Sid[3];
27+
PSID Sid[4];
2828
SID_IDENTIFIER_AUTHORITY WorldAuthority = {SECURITY_WORLD_SID_AUTHORITY};
2929
SID_IDENTIFIER_AUTHORITY NtAuthority = {SECURITY_NT_AUTHORITY};
3030
ULONG AceLength, AclLength, SidLength;

0 commit comments

Comments
 (0)