From 042fa7ff9a69099097aef468832f66abf4878551 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 4 Dec 2010 18:58:20 +0000 Subject: [PATCH] ITS#6735 Fix uninitialized filter in slapd-tester --- tests/progs/slapd-tester.c | 3 +++ 1 file changed, 3 insertions(+) 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 ); } -- 2.39.5