From: Howard Chu Date: Thu, 8 Sep 2005 02:19:05 +0000 (+0000) Subject: ITS#3989 fix crash - don't access freed psearch records X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~466 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d567be70ebf0141f3be711efd8a91ec5e4b09c37;p=openldap ITS#3989 fix crash - don't access freed psearch records --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 883827276c..3693e14613 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1048,6 +1048,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit ) "search base has changed" ); sprev->s_next = snext; syncprov_drop_psearch( ss, 1 ); + ss = sprev; continue; }