From: Andreas Schneider Date: Mon, 19 Feb 2018 11:29:55 +0000 (+0100) Subject: s3:tldap: Comment code for to LDAP escaping version X-Git-Tag: tevent-0.9.36~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=654b76739a72b8ecdf0542c0b9a566b82dcfb1e1;p=thirdparty%2Fsamba.git s3:tldap: Comment code for to LDAP escaping version Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 33a852446b9..205a9cf2b06 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -1280,6 +1280,7 @@ static bool tldap_unescape_inplace(char *value, size_t *val_len) } i++; + /* LDAPv3 escaped */ c = tldap_hex2char(&value[i]); if (c >= 0 && c < 256) { value[p] = c; @@ -1288,6 +1289,7 @@ static bool tldap_unescape_inplace(char *value, size_t *val_len) break; } + /* LDAPv2 escaped */ switch (value[i]) { case '(': case ')':