summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clilist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 83b9eb1301..93f67c7e63 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -260,6 +260,8 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
return -1;
}
+ ZERO_STRUCT(finfo);
+
while (ff_eos == 0) {
size_t nlen = 2*(strlen(mask)+1);