don't read the DACL if it's not present or if it's a NULL-DACL

svn path=/trunk/; revision=18013
This commit is contained in:
Thomas Bluemel 2005-09-23 15:31:04 +00:00
parent 7542d31c35
commit 0243833fef

View file

@ -330,7 +330,8 @@ ReloadPrincipalsList(IN PSECURITY_PAGE sp)
if (GetSecurityDescriptorDacl(SecurityDescriptor, if (GetSecurityDescriptorDacl(SecurityDescriptor,
&DaclPresent, &DaclPresent,
&Dacl, &Dacl,
&DaclDefaulted)) &DaclDefaulted) &&
DaclPresent && Dacl != NULL)
{ {
PSID Sid; PSID Sid;
PVOID Ace; PVOID Ace;