Fixed out-of-bounds write in short-term memory of the brain-server
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user