Commit c6446c5e authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5402

parent 4dfc2a8b
......@@ -6,6 +6,7 @@ OpenLDAP 2.4.9 Engineering
Fixed slapd frontendDB backend selection (ITS#5419)
Fixed slapd delta-syncrepl resync (ITS#5378)
Fixed slapd pointer dereference (ITS#5388)
Fixed slapd sets attribute description parsing (ITS#5402)
Fixed slapd syncrepl hang on back-config (ITS#5407)
Fixed slapd syncrepl compare_csns crash (ITS#5413)
Fixed slapd syncrepl contextCSN update clash (ITS#5426)
......
......@@ -709,20 +709,19 @@ slap_set_filter( SLAP_SET_GATHER gatherer,
break;
default:
if ( ( c != '_' )
&& ( c < 'A' || c > 'Z' )
&& ( c < 'a' || c > 'z' ) )
{
if ( !AD_LEADCHAR( c ) ) {
SF_ERROR( syntax );
}
filter--;
for ( len = 1;
( c = filter[ len ] )
&& ( ( c >= '0' && c <= '9' )
|| ( c >= 'A' && c <= 'Z' )
|| ( c >= 'a' && c <= 'z' ) );
len++ )
/* count */ ;
( c = filter[ len ] ) && AD_CHAR( c );
len++ )
{
/* count */
if ( c == '-' && !AD_CHAR( filter[ len + 1 ] ) ) {
break;
}
}
if ( len == 4
&& memcmp( "this", filter, len ) == 0 )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment