From: Douglas Bagnall Date: Thu, 9 Nov 2023 22:28:57 +0000 (+1300) Subject: libcl/security:sddl_decode_acl: expand a comment X-Git-Tag: talloc-2.4.2~696 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15fcf9b769bf0f7ab17804fc83020b4f1b2fb4f3;p=thirdparty%2Fsamba.git libcl/security:sddl_decode_acl: expand a comment Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/libcli/security/sddl.c b/libcli/security/sddl.c index 032048544a0..80db182ff9c 100644 --- a/libcli/security/sddl.c +++ b/libcli/security/sddl.c @@ -822,7 +822,11 @@ static struct security_acl *sddl_decode_acl(struct security_descriptor *sd, sddl += len; if (sddl[0] != '(') { - /* it is empty apart from the flags. */ + /* + * it is empty apart from the flags + * (or the flags are bad, and we will find out when + * we try to parse the next bit as a top-level fragment) + */ *sddlp = sddl; return acl; }