Commit 6bc11536 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ntdll: Allow the newer ACL revisions in RtlCreateAce.

parent f9545ad9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment