]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/security: Refer to UTF‐16 code units rather than to codepoints
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 20 Sep 2023 02:55:34 +0000 (14:55 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Sep 2023 02:43:28 +0000 (02:43 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/sddl_conditional_ace.c

index 01362f9082b1969c862ea170717a3ac88d7c9272..9fc2d8a2c57e10432b1cd75ceb2562da92ce0942 100644 (file)
@@ -1409,7 +1409,7 @@ static ssize_t read_attr2_string(
        for (i = 0; i < max_len; i++) {
                uint8_t c = src[i];
                /*
-                * A codepoint that must be escaped but isn't tells us that
+                * A double‐byte that must be escaped but isn't tells us that
                 * the attribute name has ended.
                 *
                 * The exception is '%', which must also be escaped
@@ -1435,7 +1435,7 @@ static ssize_t read_attr2_string(
                /*
                 * This is imprecise; the limit for the whole ACL is 64k.
                 * However there could be many escapes in the SDDL name which
-                * would reduce down to single utf16 codepoints in the
+                * would reduce down to single utf16 code units in the
                 * compiled string.
                 */
                comp_error(comp, "attribute is way too long (%zu)", i);