diff options
author | Andreas Schneider <asn@samba.org> | 2010-06-28 10:33:47 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-06-28 12:56:13 +0200 |
commit | 34de8a00dd69d8ffba98babf141f484da54a472a (patch) | |
tree | bded3f2d1bbbf7e5f8a9df9f435a828673e7aa7b /source3 | |
parent | b6100fa72f2f7e42f49538117846c973e2154b00 (diff) | |
download | samba-34de8a00dd69d8ffba98babf141f484da54a472a.tar.gz samba-34de8a00dd69d8ffba98babf141f484da54a472a.tar.xz samba-34de8a00dd69d8ffba98babf141f484da54a472a.zip |
s3-libsmb: Make sure that finfo is initialized.
Found by clang-analyzer.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clilist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index 83b9eb1301f..93f67c7e63d 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); |