mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
do not return entry pointer in case of failure
This commit is contained in:
parent
0265f31b5b
commit
1f9c26e69f
1 changed files with 1 additions and 0 deletions
|
|
@ -428,6 +428,7 @@ searchit:
|
|||
if ( --op->ors_slimit == -1 ) {
|
||||
cache_return_entry_r( &li->li_cache, e );
|
||||
rs->sr_err = LDAP_SIZELIMIT_EXCEEDED;
|
||||
rs->sr_entry = NULL;
|
||||
send_ldap_result( op, rs );
|
||||
rc = LDAP_SUCCESS;
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Reference in a new issue