summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-09-20 14:55:34 +1200
committerAndrew Bartlett <abartlet@samba.org>2023-09-27 02:43:28 +0000
commit37ed208701bb80c65fbf1acfb26292a8780e51ec (patch)
treed272d6d3147cf545b110b8f7380c36375477ceeb
parenta064e2f25899b446e4d31bed8e0c7b553713f7ae (diff)
downloadsamba-37ed208701bb80c65fbf1acfb26292a8780e51ec.tar.gz
samba-37ed208701bb80c65fbf1acfb26292a8780e51ec.tar.bz2
samba-37ed208701bb80c65fbf1acfb26292a8780e51ec.zip
libcli/security: Refer to UTF‐16 code units rather than to codepoints
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--libcli/security/sddl_conditional_ace.c4
1 files changed, 2 insertions, 2 deletions
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);