mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix counting twice the substitution length (caused berval to have wrong length, rejected by subsequent dnNormalize)
This commit is contained in:
parent
704ed641eb
commit
1658aa0893
@ -1791,7 +1791,6 @@ string_expand(
|
|||||||
l = matches[n].rm_eo;
|
l = matches[n].rm_eo;
|
||||||
for ( ; size < bv->bv_len && i < l; size++, i++ ) {
|
for ( ; size < bv->bv_len && i < l; size++, i++ ) {
|
||||||
*dp++ = match[i];
|
*dp++ = match[i];
|
||||||
size++;
|
|
||||||
}
|
}
|
||||||
*dp = '\0';
|
*dp = '\0';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user