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:
parent
0a2d6378d8
commit
d4c2b61c48
|
@ -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] );
|
||||||
|
|
Loading…
Reference in New Issue