]> git.sur5r.net Git - openldap/commitdiff
Skip over unsupported tags
authorKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jun 2000 17:09:26 +0000 (17:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jun 2000 17:09:26 +0000 (17:09 +0000)
servers/slapd/filter.c

index 6c44ca305a74306d60f5af6fb09226f6f315f22f..6af8f867c76da075319c48a8253114710ab9eade 100644 (file)
@@ -241,12 +241,14 @@ get_filter(
                /* not yet implemented */
                Debug( LDAP_DEBUG_ANY, "extensible match not yet implemented.\n",
                       f->f_choice, 0, 0 );
+               (void) ber_skip_tag( ber, &len );
                f->f_choice = SLAPD_FILTER_COMPUTED;
                f->f_result = SLAPD_COMPARE_UNDEFINED;
                *fstr = ch_strdup( "(extended)" );
                break;
 
        default:
+               (void) ber_skip_tag( ber, &len );
                Debug( LDAP_DEBUG_ANY, "get_filter: unknown filter type=%lu\n",
                       f->f_choice, 0, 0 );
                f->f_choice = SLAPD_FILTER_COMPUTED;