From: Andreas Schneider Date: Wed, 26 Jul 2017 15:48:34 +0000 (+0200) Subject: s3:tldap: Fix parsing LDAPv2 escaped strings X-Git-Tag: tevent-0.9.36~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c96dc78aa680d3a1c1d53ea9b18a966025a93e16;p=thirdparty%2Fsamba.git s3:tldap: Fix parsing LDAPv2 escaped strings Yes, this is outdated, but the missing 'break' produces a compiler warning. Signed-off-by: Andreas Schneider Reviewed-by: Simo Sorce Reviewed-by: Andrew Bartlett --- diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 40064fdeeed..33a852446b9 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -1295,6 +1295,8 @@ static bool tldap_unescape_inplace(char *value, size_t *val_len) case '\\': value[p] = value[i]; p++; + + break; default: /* invalid */ return false;