From: Pierangelo Masarati Date: Mon, 1 Dec 2003 07:50:27 +0000 (+0000) Subject: if rule is an URI, must have a filter field X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~318 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff919168fb95225d195b536795763dfa92b129a6;p=openldap if rule is an URI, must have a filter field --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index ca9a416d0d..01525201b7 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -448,6 +448,10 @@ int slap_sasl_match( Operation *opx, struct berval *rule, } /* Must run an internal search. */ + if ( op.oq_search.rs_filter == NULL ) { + rc = LDAP_FILTER_ERROR; + goto CONCLUDED; + } #ifdef NEW_LOGGING LDAP_LOG( TRANSPORT, DETAIL1,