From 56ee6a2074dd7700c64f41f97d202ee3851e1c1c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 30 Oct 2014 16:12:17 +0100 Subject: s3-libsmb: Make sure the stat structure is initialized. Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- source3/libsmb/clirap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 64e3767c12..08f8ba2b6a 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; -- cgit