1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

Add suggested memset

This commit is contained in:
Chick3nman 2023-07-05 01:21:54 -05:00
parent 20d3252863
commit b6804aa34d

View File

@ -68,6 +68,8 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
hc_token_t token; hc_token_t token;
memset (&token, 0, sizeof (hc_token_t));
token.token_cnt = 2; token.token_cnt = 2;
token.sep[0] = hashconfig->separator; token.sep[0] = hashconfig->separator;