mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Don't force a security descriptor to have an owner
svn path=/trunk/; revision=24532
This commit is contained in:
parent
842f4cfb17
commit
09da758c64
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ SeAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (SepSidInToken(Token, Sid))
|
||||
if (Sid && SepSidInToken(Token, Sid))
|
||||
{
|
||||
CurrentAccess |= (READ_CONTROL | WRITE_DAC);
|
||||
if (DesiredAccess == CurrentAccess)
|
||||
|
|
Loading…
Reference in a new issue