Author: tfaber
Date: Sun Aug 2 12:17:10 2015
New Revision: 68594
URL:
http://svn.reactos.org/svn/reactos?rev=68594&view=rev
Log:
[NTOS:SE]
- Allow any valid ACE revision in SepPropagateAcl
CORE-9955 #resolve
Modified:
trunk/reactos/ntoskrnl/se/acl.c
Modified: trunk/reactos/ntoskrnl/se/acl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/acl.c?rev=6859…
==============================================================================
--- trunk/reactos/ntoskrnl/se/acl.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/acl.c [iso-8859-1] Sun Aug 2 12:17:10 2015
@@ -417,7 +417,7 @@
NTSTATUS
SepPropagateAcl(
- _Out_writes_bytes_opt_(DaclLength) PACL AclDest,
+ _Out_writes_bytes_opt_(AclLength) PACL AclDest,
_Inout_ PULONG AclLength,
_In_reads_bytes_(AclSource->AclSize) PACL AclSource,
_In_ PSID Owner,
@@ -439,12 +439,7 @@
PSID Sid;
BOOLEAN WriteTwoAces;
- if (AclSource->AclRevision != ACL_REVISION)
- {
- NT_ASSERT(AclSource->AclRevision == ACL_REVISION);
- return STATUS_UNKNOWN_REVISION;
- }
-
+ NT_ASSERT(RtlValidAcl(AclSource));
NT_ASSERT(AclSource->AclSize % sizeof(ULONG) == 0);
NT_ASSERT(AclSource->Sbz1 == 0);
NT_ASSERT(AclSource->Sbz2 == 0);