git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206db40
)
libcl/security:sddl_decode_acl: add a message
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Thu, 9 Nov 2023 05:45:57 +0000
(18:45 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 15 Nov 2023 22:07:35 +0000
(22:07 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/sddl.c
patch
|
blob
|
history
diff --git
a/libcli/security/sddl.c
b/libcli/security/sddl.c
index 96d76a5993b398f6179aba4f3c622c54acb07385..70bf6d07f757d0a0d9e6efaa00ffa0bd6795a849 100644
(file)
--- a/
libcli/security/sddl.c
+++ b/
libcli/security/sddl.c
@@
-813,6
+813,8
@@
static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
/* work out the ACL flags */
if (!sddl_map_flags(acl_flags, sddl, flags, &len, true)) {
+ *msg = talloc_strdup(sd, "bad ACL flags");
+ *msg_offset = 0;
talloc_free(acl);
return NULL;
}