1
0
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:
Jens Steube 2016-02-23 10:52:02 +01:00
parent efad2bafac
commit 75c6d28a5f

View File

@ -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++;