1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00

Merge pull request #1060 from philsmd/pr/initialize_hc_stat_t

fix: initialize the hc_stat_t structs before using/modifying them
This commit is contained in:
Jens Steube 2017-02-14 11:25:41 +01:00 committed by GitHub
commit 0280aff571

View File

@ -1565,8 +1565,8 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
char *outfile = outfile_ctx->filename; char *outfile = outfile_ctx->filename;
hc_stat_t tmpstat_outfile; hc_stat_t tmpstat_outfile = { 0 };
hc_stat_t tmpstat_hashfile; hc_stat_t tmpstat_hashfile = { 0 };
FILE *tmp_outfile_fp = fopen (outfile, "r"); FILE *tmp_outfile_fp = fopen (outfile, "r");