Skip to content
Snippets Groups Projects
Commit 21264e2c authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

eat all the substrings assertion if the attribute type does not support...

eat all the substrings assertion if the attribute type does not support substrings matching (ITS#5803)
parent aeec87ee
No related branches found
No related tags found
No related merge requests found
......@@ -385,6 +385,19 @@ get_ssa(
rc = LDAP_PROTOCOL_ERROR;
if ( ssa.sa_desc->ad_type->sat_substr == NULL ) {
for ( tag = ber_first_element( ber, &len, &last );
tag != LBER_DEFAULT;
tag = ber_next_element( ber, &len, last ) )
{
/* eat all */
rc = ber_scanf( ber, "x" );
}
rc = LDAP_INVALID_SYNTAX;
goto return_error;
}
for ( tag = ber_first_element( ber, &len, &last );
tag != LBER_DEFAULT;
tag = ber_next_element( ber, &len, last ) )
......
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