]> git.sur5r.net Git - openldap/commitdiff
ITS#7588 fix double-free for sorted paged search
authorHoward Chu <hyc@openldap.org>
Mon, 13 May 2013 15:12:40 +0000 (08:12 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 13 May 2013 15:12:40 +0000 (08:12 -0700)
servers/slapd/overlays/sssvlv.c

index 674803e42fc73efd5deac513dd48263f22c5bdf3..4bd3b01a20965c09f36b5bd4e8d8d11faea4e8af 100644 (file)
@@ -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;
 }