mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 17:38:50 +00:00
ntdll: Allow the newer ACL revisions in RtlCreateAce.
This commit is contained in:
parent
f9545ad94f
commit
6bc11536bd
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue