From: Joseph Sutton Date: Wed, 20 Sep 2023 02:55:34 +0000 (+1200) Subject: libcli/security: Refer to UTF‐16 code units rather than to codepoints X-Git-Tag: tevent-0.16.0~369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ed208701bb80c65fbf1acfb26292a8780e51ec;p=thirdparty%2Fsamba.git libcli/security: Refer to UTF‐16 code units rather than to codepoints Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/libcli/security/sddl_conditional_ace.c b/libcli/security/sddl_conditional_ace.c index 01362f9082b..9fc2d8a2c57 100644 --- a/libcli/security/sddl_conditional_ace.c +++ b/libcli/security/sddl_conditional_ace.c @@ -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);