fix: initialize the hc_stat_t structs before using/modifying them

pull/1060/head
philsmd 7 years ago
parent 63b7321be2
commit 5f6ba4bf4b
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

@ -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");

Loading…
Cancel
Save