mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05: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
2 changed files with 10 additions and 0 deletions
|
|
@ -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 a new issue