mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#7588 fix possible NULL-deref in prev commit
This commit is contained in:
parent
ffe383c27b
commit
1748f03041
@ -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 New Issue
Block a user