]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES: more fixes
authorKurt Zeilenga <kurt@openldap.org>
Mon, 17 Mar 2003 00:27:33 +0000 (00:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 17 Mar 2003 00:27:33 +0000 (00:27 +0000)
servers/slapd/filter.c
servers/slapd/value.c

index eadf4f377c3b5072fcc092d1b5a3c4c96386b2d9..7ebb6ddb19475e8ce1abcb2cc6975ba9eb51296a 100644 (file)
@@ -428,6 +428,7 @@ get_substring_filter(
                                "  unknown substring choice=%ld\n",
                                (long) tag, 0, 0 );
 #endif
+
                        free( value.bv_val );
                        goto return_error;
                }
@@ -529,6 +530,7 @@ get_substring_filter(
                                (long) tag, 0, 0 );
 #endif
 
+                       assert( 0 );
                        free( nvalue.bv_val );
 
 return_error:
index 82fead26c65c39d1f71ef2f4c567ed531c03c675..553c627aa8feb49baf5b3e4da3101b2a7e04bd42 100644 (file)
@@ -167,6 +167,8 @@ int asserted_value_validate_normalize(
        } else {
                ber_dupbv( out, in );
        }
+
+       return LDAP_SUCCESS;
 }
 
 #else