git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9c275
)
s3:tldap: Fix parsing LDAPv2 escaped strings
author
Andreas Schneider
<asn@samba.org>
Wed, 26 Jul 2017 15:48:34 +0000
(17:48 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 19 Feb 2018 18:17:12 +0000
(19:17 +0100)
Yes, this is outdated, but the missing 'break' produces a compiler
warning.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 40064fdeeed3d6ce9e3c56f09a2564f600685197..33a852446b9a253526c70afb82d9ed41086a2de7 100644
(file)
--- 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;