mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
Fix missing memset after previous fix
This commit is contained in:
parent
efad2bafac
commit
75c6d28a5f
@ -4309,6 +4309,8 @@ static void pw_add (hc_device_param_t *device_param, const u8 *pw_buf, const int
|
||||
|
||||
memcpy (pw->i, pw_buf, pw_len);
|
||||
|
||||
memset (pw->i + pw_len, 0, sizeof (pw->i) - pw_len);
|
||||
|
||||
pw->pw_len = pw_len;
|
||||
|
||||
device_param->pws_cnt++;
|
||||
|
Loading…
Reference in New Issue
Block a user