mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[NTOSKRNL]
SeValidSecurityDescriptor does not correctly check for invalid DACL revision numbers. Patch by Samuel Serapion. CORE-7209 #resolve #comment Committed in r59075. svn path=/trunk/; revision=59075
This commit is contained in:
parent
5ad38a47d0
commit
c2b2763cba
1 changed files with 1 additions and 1 deletions
|
@ -1088,7 +1088,7 @@ SeValidSecurityDescriptor(IN ULONG Length,
|
||||||
}
|
}
|
||||||
|
|
||||||
Acl = (PACL)((ULONG_PTR)SecurityDescriptor + SecurityDescriptor->Dacl);
|
Acl = (PACL)((ULONG_PTR)SecurityDescriptor + SecurityDescriptor->Dacl);
|
||||||
if ((Acl->AclRevision < MIN_ACL_REVISION) &&
|
if ((Acl->AclRevision < MIN_ACL_REVISION) ||
|
||||||
(Acl->AclRevision > MAX_ACL_REVISION))
|
(Acl->AclRevision > MAX_ACL_REVISION))
|
||||||
{
|
{
|
||||||
DPRINT1("Invalid DACL revision\n");
|
DPRINT1("Invalid DACL revision\n");
|
||||||
|
|
Loading…
Reference in a new issue