mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
blind fix to ITS#6163
This commit is contained in:
parent
a1ed732822
commit
5139241ade
1 changed files with 18 additions and 0 deletions
|
|
@ -721,6 +721,16 @@ backsql_process_filter( backsql_srch_info *bsi, Filter *f )
|
|||
goto done;
|
||||
}
|
||||
|
||||
if ( f->f_choice & SLAPD_FILTER_UNDEFINED ) {
|
||||
backsql_strfcat_x( &bsi->bsi_flt_where,
|
||||
bsi->bsi_op->o_tmpmemctx,
|
||||
"l",
|
||||
(ber_len_t)STRLENOF( "1=0" ), "1=0" );
|
||||
done = 1;
|
||||
rc = 1;
|
||||
goto done;
|
||||
}
|
||||
|
||||
switch( f->f_choice ) {
|
||||
case LDAP_FILTER_OR:
|
||||
rc = backsql_process_filter_list( bsi, f->f_or,
|
||||
|
|
@ -1196,6 +1206,14 @@ backsql_process_filter_attr( backsql_srch_info *bsi, Filter *f, backsql_at_map_r
|
|||
&at->bam_join_where );
|
||||
}
|
||||
|
||||
if ( f->f_choice & SLAPD_FILTER_UNDEFINED ) {
|
||||
backsql_strfcat_x( &bsi->bsi_flt_where,
|
||||
bsi->bsi_op->o_tmpmemctx,
|
||||
"l",
|
||||
(ber_len_t)STRLENOF( "1=0" ), "1=0" );
|
||||
return 1;
|
||||
}
|
||||
|
||||
switch ( f->f_choice ) {
|
||||
case LDAP_FILTER_EQUALITY:
|
||||
filter_value = &f->f_av_value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue