mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
If we didn't inherit any ACE's the ACE pointer should be NULL.
Jeremy.
This commit is contained in:
parent
8962be69c7
commit
5a2feed9dc
@ -563,15 +563,17 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
|
||||
}
|
||||
|
||||
/* Create child security descriptor to return */
|
||||
|
||||
new_dacl = make_sec_acl(ctx,
|
||||
if (new_ace_list_ndx) {
|
||||
new_dacl = make_sec_acl(ctx,
|
||||
NT4_ACL_REVISION,
|
||||
new_ace_list_ndx,
|
||||
new_ace_list);
|
||||
|
||||
if (!new_dacl) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
if (!new_dacl) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
}
|
||||
|
||||
*ppsd = make_sec_desc(ctx,
|
||||
SECURITY_DESCRIPTOR_REVISION_1,
|
||||
SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user