mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix ITS#3208
This commit is contained in:
parent
f64283ccae
commit
ad48d85ce5
@ -968,7 +968,7 @@ put_vrFilter( BerElement *ber, const char *str_in )
|
|||||||
0, 0, 0 );
|
0, 0, 0 );
|
||||||
#endif
|
#endif
|
||||||
next = strchr( str, '\0' );
|
next = strchr( str, '\0' );
|
||||||
if ( put_simple_filter( ber, str ) == -1 ) {
|
if ( put_simple_vrFilter( ber, str ) == -1 ) {
|
||||||
rc = -1;
|
rc = -1;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
@ -1098,12 +1098,8 @@ put_simple_vrFilter(
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
rule = "";
|
rule = "";
|
||||||
|
|
||||||
} else {
|
|
||||||
*rule++ = '\0';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( *str == '\0' && ( !rule || *rule == '\0' ) ) {
|
if ( *str == '\0' && ( !rule || *rule == '\0' ) ) {
|
||||||
/* must have either type or rule */
|
/* must have either type or rule */
|
||||||
goto done;
|
goto done;
|
||||||
|
Loading…
Reference in New Issue
Block a user