mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE)
This commit is contained in:
parent
4bae2b8db3
commit
6275c6ecdc
@ -947,7 +947,7 @@ retry_lock:
|
||||
i = meta_back_get_candidate( op, rs, &pndn );
|
||||
}
|
||||
|
||||
if ( rs->sr_err != LDAP_SUCCESS ) {
|
||||
if ( i < 0 || rs->sr_err != LDAP_SUCCESS ) {
|
||||
if ( mc != NULL ) {
|
||||
meta_back_release_conn( op, mc );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user