Fixes #3596: bug in --stdout w/ rules

Changes BUF_SZ to PW_MAX to correctly memset the pw buffer to 0 between candidates.
pull/3598/head
Chick3nman 1 year ago committed by GitHub
parent 8d044fa07f
commit 0f697fd668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save