fix substring_comp_candidates logic if intersection of candidates

is ever empty.  See ITS#228.
This commit is contained in:
Kurt Zeilenga 1999-07-16 22:26:57 +00:00
parent 059ee8c86d
commit f92d01c2bb
2 changed files with 10 additions and 0 deletions

View File

@ -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",

View File

@ -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",