mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#5077 fix attr_cmp loop termination
This commit is contained in:
parent
856bf9bd48
commit
cd47824bbb
1 changed files with 3 additions and 1 deletions
|
|
@ -2699,7 +2699,9 @@ attr_cmp( Operation *op, Attribute *old, Attribute *new,
|
|||
dels[d++] = i++;
|
||||
continue;
|
||||
}
|
||||
for ( k = i + 1; k < o; k++ ) {
|
||||
/* old value still exists, move to next */
|
||||
i++;
|
||||
for ( k = i; k < o; k++ ) {
|
||||
if ( bvmatch( &old->a_vals[k], &new->a_vals[j] ) ) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue