mirror of
https://github.com/hashcat/hashcat
synced 2024-12-27 05:13:45 +01:00
Fixed a buffer overflow in potfile handling
This commit is contained in:
parent
471c10c4f7
commit
45431d9201
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user