From: Andreas Schneider Date: Thu, 30 Oct 2014 15:12:17 +0000 (+0100) Subject: s3-libsmb: Make sure the stat structure is initialized. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=56ee6a2074dd7700c64f41f97d202ee3851e1c1c;p=obnox%2Fsamba%2Fsamba-obnox.git s3-libsmb: Make sure the stat structure is initialized. Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 64e3767c129..08f8ba2b6a9 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -1424,7 +1424,7 @@ NTSTATUS cli_qpathinfo3(struct cli_state *cli, const char *fname, SMB_INO_T *ino) { NTSTATUS status = NT_STATUS_OK; - SMB_STRUCT_STAT st; + SMB_STRUCT_STAT st = { 0 }; uint32_t attr; uint64_t pos;