Skip to content
Snippets Groups Projects
Commit f92d01c2 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

fix substring_comp_candidates logic if intersection of candidates

is ever empty.  See ITS#228.
parent 059ee8c8
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment