]> git.sur5r.net Git - openldap/commitdiff
ITS#6735 Fix uninitialized filter in slapd-tester
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 4 Dec 2010 18:58:20 +0000 (18:58 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 4 Dec 2010 18:58:20 +0000 (18:58 +0000)
tests/progs/slapd-tester.c

index 5e7e49b7dfdde8bafc111bee0263f3f2a0dc13a5..c00fed0ab42e1db0023a1a3adfad0f98b684a02a 100644 (file)
@@ -1060,6 +1060,9 @@ get_read_entries( char *filename, char *entries[], char *filters[] )
                                ldap_free_urldesc( lud );
 
                        } else {
+                               if ( filters != NULL )
+                                       filters[entry] = NULL;
+
                                entries[entry] = ArgDup( line );
                        }