mirror of
https://github.com/hashcat/hashcat
synced 2024-11-24 14:27:14 +01: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