Rob Shearman : ntdll: Allow the newer ACL revisions in RtlCreateAce.
Module: wine Branch: master Commit: 6bc11536bda7e4190a17c41a6699c1495c8b0c3c URL: http://source.winehq.org/git/wine.git/?a=commit;h=6bc11536bda7e4190a17c41a66... Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 23 13:38:07 2007 +0100 ntdll: Allow the newer ACL revisions in RtlCreateAce. --- dlls/ntdll/sec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index 89d23df..f195678 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -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;
participants (1)
-
Alexandre Julliard