From 48ecc898906a8414c80076e885f2687377413f70 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 15 Nov 2005 18:27:40 +0000 Subject: [PATCH] don't muck with SlapReply during response (ITS#4173) --- servers/slapd/overlays/syncprov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.39.5