From: Hallvard Furuseth Date: Sat, 4 Dec 2010 18:58:20 +0000 (+0000) Subject: ITS#6735 Fix uninitialized filter in slapd-tester X-Git-Tag: MIGRATION_CVS2GIT~382 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=042fa7ff9a69099097aef468832f66abf4878551;p=openldap ITS#6735 Fix uninitialized filter in slapd-tester --- diff --git a/tests/progs/slapd-tester.c b/tests/progs/slapd-tester.c index 5e7e49b7df..c00fed0ab4 100644 --- a/tests/progs/slapd-tester.c +++ b/tests/progs/slapd-tester.c @@ -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 ); }