From d567be70ebf0141f3be711efd8a91ec5e4b09c37 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 8 Sep 2005 02:19:05 +0000 Subject: [PATCH] ITS#3989 fix crash - don't access freed psearch records --- servers/slapd/overlays/syncprov.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5