mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix another crasher
This commit is contained in:
parent
0eb5023550
commit
fdce5f2f7e
@ -1386,6 +1386,7 @@ syncrepl_message_to_op(
|
|||||||
op->orr_newrdn = prdn;
|
op->orr_newrdn = prdn;
|
||||||
op->orr_nnewrdn = nrdn;
|
op->orr_nnewrdn = nrdn;
|
||||||
op->orr_deleteoldrdn = deleteOldRdn;
|
op->orr_deleteoldrdn = deleteOldRdn;
|
||||||
|
op->orr_modlist = NULL;
|
||||||
if ( slap_modrdn2mods( op, &rs ))
|
if ( slap_modrdn2mods( op, &rs ))
|
||||||
goto done;
|
goto done;
|
||||||
rc = op->o_bd->be_modrdn( op, &rs );
|
rc = op->o_bd->be_modrdn( op, &rs );
|
||||||
@ -1842,6 +1843,7 @@ retry_add:;
|
|||||||
op->orr_nnewSup = &nnewp;
|
op->orr_nnewSup = &nnewp;
|
||||||
}
|
}
|
||||||
op->orr_deleteoldrdn = 0;
|
op->orr_deleteoldrdn = 0;
|
||||||
|
op->orr_modlist = NULL;
|
||||||
rc = be->be_modrdn( op, &rs_modify );
|
rc = be->be_modrdn( op, &rs_modify );
|
||||||
Debug( LDAP_DEBUG_SYNC,
|
Debug( LDAP_DEBUG_SYNC,
|
||||||
"syncrepl_entry: %s (%d)\n",
|
"syncrepl_entry: %s (%d)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user