mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix substring_comp_candidates logic if intersection of candidates
is ever empty. See ITS#228.
This commit is contained in:
parent
059ee8c86d
commit
f92d01c2bb
@ -345,6 +345,11 @@ substring_comp_candidates(
|
||||
bdb2i_idl_free( tmp );
|
||||
bdb2i_idl_free( tmp2 );
|
||||
}
|
||||
|
||||
/* break if no candidates */
|
||||
if( idl == NULL ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "<= substring_comp_candidates %ld\n",
|
||||
|
@ -345,6 +345,11 @@ substring_comp_candidates(
|
||||
idl_free( tmp );
|
||||
idl_free( tmp2 );
|
||||
}
|
||||
|
||||
/* break if no candidates */
|
||||
if( idl == NULL ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "<= substring_comp_candidates %ld\n",
|
||||
|
Loading…
Reference in New Issue
Block a user