mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fixes #3596: bug in --stdout w/ rules
Changes BUF_SZ to PW_MAX to correctly memset the pw buffer to 0 between candidates.
This commit is contained in:
parent
8d044fa07f
commit
0f697fd668
@ -223,7 +223,7 @@ int process_stdout (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param,
|
||||
|
||||
out_push (&out, plain_ptr, plain_len);
|
||||
|
||||
memset (plain_ptr, 0, BUF_SZ);
|
||||
memset (plain_ptr, 0, PW_MAX);
|
||||
}
|
||||
|
||||
pw_idx++;
|
||||
|
Loading…
Reference in New Issue
Block a user