From: Howard Chu Date: Mon, 13 May 2013 15:12:40 +0000 (-0700) Subject: ITS#7588 fix double-free for sorted paged search X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68cb9ae250cfd4d9eaed813a4f543adc85409a34;p=openldap ITS#7588 fix double-free for sorted paged search --- diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index 674803e42f..4bd3b01a20 100644 --- a/servers/slapd/overlays/sssvlv.c +++ b/servers/slapd/overlays/sssvlv.c @@ -618,6 +618,7 @@ static void send_page( Operation *op, SlapReply *rs, sort_op *so ) /* Set the first entry to send for the next page */ so->so_tree = next_node; + next_node->avl_left = NULL; op->o_bd = be; }