mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Fixed out-of-bounds write in short-term memory of the brain-server
This commit is contained in:
parent
3b8abb7f0d
commit
175fea4094
@ -29,6 +29,7 @@
|
||||
- Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
|
||||
- Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
|
||||
- Fixed endianness and invalid separator character in outfile format of hash-mode 16801 (WPA-PMKID-PMK)
|
||||
- Fixed out-of-bounds write in short-term memory of the brain-server
|
||||
|
||||
* changes v4.2.1 -> v5.0.0
|
||||
|
||||
|
@ -2659,7 +2659,7 @@ void *brain_server_handle_client (void *p)
|
||||
break;
|
||||
}
|
||||
|
||||
if (hashes_cnt > passwords_max)
|
||||
if ((brain_server_db_short->short_cnt + hashes_cnt) > passwords_max)
|
||||
{
|
||||
brain_logging (stderr, client_idx, "Too many passwords\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user