ntdll: Fix a typo in security descriptor flags.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-06-11 21:26:35 +03:00 committed by Alexandre Julliard
parent 0a2d6378d8
commit d4c2b61c48
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ NTSTATUS alloc_object_attributes( const OBJECT_ATTRIBUTES *attr, struct object_a
owner = sd->Owner; owner = sd->Owner;
group = sd->Group; group = sd->Group;
if (sd->Control & SE_SACL_PRESENT) sacl = sd->Sacl; if (sd->Control & SE_SACL_PRESENT) sacl = sd->Sacl;
if (sd->Control & SE_SACL_PRESENT) dacl = sd->Dacl; if (sd->Control & SE_DACL_PRESENT) dacl = sd->Dacl;
} }
if (owner) len += offsetof( SID, SubAuthority[owner->SubAuthorityCount] ); if (owner) len += offsetof( SID, SubAuthority[owner->SubAuthorityCount] );