From 1658aa089320a3b07639c77fd4d1896e0c2a89ea Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 30 Mar 2002 15:44:30 +0000 Subject: [PATCH] fix counting twice the substitution length (caused berval to have wrong length, rejected by subsequent dnNormalize) --- servers/slapd/acl.c | 1 - 1 file changed, 1 deletion(-) 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'; } -- 2.39.5