mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#6973 need limits_check if overlay is global
This commit is contained in:
parent
65e163d268
commit
ae24a1a6ac
@ -873,6 +873,9 @@ static int sssvlv_op_search(
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &sort_conns_mutex );
|
||||
if ( ok ) {
|
||||
/* If we're a global overlay, this check got bypassed */
|
||||
if ( !op->ors_limit && limits_check( op, rs ))
|
||||
return rs->sr_err;
|
||||
/* are we continuing a VLV search? */
|
||||
if ( so && vc && vc->vc_context ) {
|
||||
so->so_ctrl = sc;
|
||||
|
Loading…
Reference in New Issue
Block a user