ITS#7588 fix possible NULL-deref in prev commit

This commit is contained in:
Howard Chu 2013-05-24 08:23:44 -07:00
parent ffe383c27b
commit 1748f03041

View File

@ -618,7 +618,8 @@ 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;
if ( next_node )
next_node->avl_left = NULL;
op->o_bd = be;
}