mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +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:
commit
0280aff571
@ -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…
Reference in New Issue
Block a user