From c96dc78aa680d3a1c1d53ea9b18a966025a93e16 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 26 Jul 2017 17:48:34 +0200 Subject: [PATCH] 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 --- source3/lib/tldap.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.3