mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Additional fix for ITS#4673
This commit is contained in:
parent
524a7bc27a
commit
f1457a8ce8
@ -364,11 +364,10 @@ static int translucent_modify(Operation *op, SlapReply *rs) {
|
||||
m->sml_desc->ad_cname.bv_val, 0, 0);
|
||||
for(mm = op->orm_modlist; mm->sml_next != m; mm = mm->sml_next);
|
||||
mm->sml_next = m->sml_next;
|
||||
mm = m;
|
||||
m = m->sml_next;
|
||||
mm->sml_next = NULL; /* hack */
|
||||
slap_mods_free(mm, 1);
|
||||
if(m) continue;
|
||||
m->sml_next = NULL;
|
||||
slap_mods_free(m, 1);
|
||||
m = mm;
|
||||
continue;
|
||||
}
|
||||
m->sml_op = LDAP_MOD_ADD;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user