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-Tag: OPENLDAP_REL_ENG_2_4_36~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c7bbd05cf91687913147b617ee36226e6e7ebf2;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; }