From: Pierangelo Masarati Date: Tue, 15 Nov 2005 18:27:40 +0000 (+0000) Subject: don't muck with SlapReply during response (ITS#4173) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48ecc898906a8414c80076e885f2687377413f70;p=openldap don't muck with SlapReply during response (ITS#4173) --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index afe894f795..a9d71afa58 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1222,6 +1222,7 @@ syncprov_checkpoint( Operation *op, SlapReply *rs, slap_overinst *on ) syncprov_info_t *si = on->on_bi.bi_private; Modifications mod; Operation opm; + SlapReply rsm; struct berval bv[2]; slap_callback cb = {0}; @@ -1243,7 +1244,7 @@ syncprov_checkpoint( Operation *op, SlapReply *rs, slap_overinst *on ) opm.o_req_ndn = op->o_bd->be_nsuffix[0]; opm.o_bd->bd_info = on->on_info->oi_orig; opm.o_managedsait = SLAP_CONTROL_NONCRITICAL; - opm.o_bd->be_modify( &opm, rs ); + opm.o_bd->be_modify( &opm, &rsm ); if ( mod.sml_next != NULL ) { slap_mods_free( mod.sml_next, 1 ); }