mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
ITS#7588 fix possible NULL-deref in prev commit
This commit is contained in:
parent
ffe383c27b
commit
1748f03041
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue