ntdll: Allow the newer ACL revisions in RtlCreateAce.

This commit is contained in:
Rob Shearman 2007-10-23 13:38:07 +01:00 committed by Alexandre Julliard
parent f9545ad94f
commit 6bc11536bd

View file

@ -1066,7 +1066,7 @@ NTSTATUS WINAPI RtlCreateAcl(PACL acl,DWORD size,DWORD rev)
{
TRACE("%p 0x%08x 0x%08x\n", acl, size, rev);
if (rev!=ACL_REVISION)
if (rev < MIN_ACL_REVISION || rev > MAX_ACL_REVISION)
return STATUS_INVALID_PARAMETER;
if (size<sizeof(ACL))
return STATUS_BUFFER_TOO_SMALL;