diff --git a/src/hashcat.c b/src/hashcat.c index 9599619e9..2bbb0254e 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -842,6 +842,7 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx) } // outer_loop iterates through hash_modes (in benchmark mode) +// also initializes stuff that depend on hash mode static int outer_loop (hashcat_ctx_t *hashcat_ctx) { diff --git a/src/user_options.c b/src/user_options.c index 8bc20cce3..9abdc9e9d 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -200,7 +200,8 @@ void user_options_destroy (user_options_t *user_options) { myfree (user_options->rp_files); - memset (user_options, 0, sizeof (user_options_t)); + //do not reset this, it might be used from main.c + //memset (user_options, 0, sizeof (user_options_t)); } int user_options_getopt (user_options_t *user_options, int argc, char **argv)