mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
fix ITS#3208
This commit is contained in:
parent
f64283ccae
commit
ad48d85ce5
1 changed files with 1 additions and 5 deletions
|
|
@ -968,7 +968,7 @@ put_vrFilter( BerElement *ber, const char *str_in )
|
|||
0, 0, 0 );
|
||||
#endif
|
||||
next = strchr( str, '\0' );
|
||||
if ( put_simple_filter( ber, str ) == -1 ) {
|
||||
if ( put_simple_vrFilter( ber, str ) == -1 ) {
|
||||
rc = -1;
|
||||
goto done;
|
||||
}
|
||||
|
|
@ -1098,12 +1098,8 @@ put_simple_vrFilter(
|
|||
goto done;
|
||||
}
|
||||
rule = "";
|
||||
|
||||
} else {
|
||||
*rule++ = '\0';
|
||||
}
|
||||
|
||||
|
||||
if ( *str == '\0' && ( !rule || *rule == '\0' ) ) {
|
||||
/* must have either type or rule */
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Reference in a new issue