]> git.sur5r.net Git - openldap/commitdiff
Terminate f_sub_any array
authorLuke Howard <lukeh@openldap.org>
Thu, 30 Jan 2003 13:06:34 +0000 (13:06 +0000)
committerLuke Howard <lukeh@openldap.org>
Thu, 30 Jan 2003 13:06:34 +0000 (13:06 +0000)
servers/slapd/slapi/slapi_utils.c

index ecccf2a3109ff6499687c992005b7505cac3b424..9a528c44503d11f38758818cb8fd36e3e5cea6b7 100644 (file)
@@ -1433,6 +1433,7 @@ slapi_filter_dup( Slapi_Filter *filter )
                for ( i = 0; filter->f_sub_any[i].bv_val != NULL; i++ ) {
                        ber_dupbv( &f->f_sub_any[i], &filter->f_sub_any[i] );
                }
+               f->f_sub_any[i].bv_val = NULL;
                ber_dupbv( &f->f_sub_final, &filter->f_sub_final );
                break;
        }