From: Pierangelo Masarati Date: Sat, 30 Mar 2002 15:44:30 +0000 (+0000) Subject: fix counting twice the substitution length (caused berval to have wrong length, rejec... X-Git-Tag: OPENLDAP_REL_ENG_2_MP~277 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1658aa089320a3b07639c77fd4d1896e0c2a89ea;p=openldap fix counting twice the substitution length (caused berval to have wrong length, rejected by subsequent dnNormalize) --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 41d0774e62..8e226d8861 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -1791,7 +1791,6 @@ string_expand( l = matches[n].rm_eo; for ( ; size < bv->bv_len && i < l; size++, i++ ) { *dp++ = match[i]; - size++; } *dp = '\0'; }