From: Pierangelo Masarati Date: Mon, 2 Jan 2006 17:36:48 +0000 (+0000) Subject: fix another crasher X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~476 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fdce5f2f7eb351a7218b3d168081776e1aae66b2;p=openldap fix another crasher --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 76eb4ad739..1cc4b84832 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1386,6 +1386,7 @@ syncrepl_message_to_op( op->orr_newrdn = prdn; op->orr_nnewrdn = nrdn; op->orr_deleteoldrdn = deleteOldRdn; + op->orr_modlist = NULL; if ( slap_modrdn2mods( op, &rs )) goto done; rc = op->o_bd->be_modrdn( op, &rs ); @@ -1842,6 +1843,7 @@ retry_add:; op->orr_nnewSup = &nnewp; } op->orr_deleteoldrdn = 0; + op->orr_modlist = NULL; rc = be->be_modrdn( op, &rs_modify ); Debug( LDAP_DEBUG_SYNC, "syncrepl_entry: %s (%d)\n",