1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Fixed a buffer overflow in potfile handling

This commit is contained in:
Jens Steube 2016-01-17 02:18:07 +01:00
parent 471c10c4f7
commit 45431d9201

View File

@ -10257,6 +10257,8 @@ int main (int argc, char **argv)
continue;
}
if (plain_len >= 255) continue;
memcpy (pot_ptr->plain_buf, plain_buf, plain_len);
pot_ptr->plain_len = plain_len;