From 5f6ba4bf4b9a6bf6c43ccb20195f0d90e578e066 Mon Sep 17 00:00:00 2001
From: philsmd <philsmd@hashcat.net>
Date: Tue, 14 Feb 2017 11:17:19 +0100
Subject: [PATCH] fix: initialize the hc_stat_t structs before using/modifying
 them

---
 src/user_options.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/user_options.c b/src/user_options.c
index 9b723e74c..b351e3952 100644
--- a/src/user_options.c
+++ b/src/user_options.c
@@ -1565,8 +1565,8 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
 
     char *outfile = outfile_ctx->filename;
 
-    hc_stat_t tmpstat_outfile;
-    hc_stat_t tmpstat_hashfile;
+    hc_stat_t tmpstat_outfile  = { 0 };
+    hc_stat_t tmpstat_hashfile = { 0 };
 
     FILE *tmp_outfile_fp = fopen (outfile, "r");