mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 11:01:44 +01:00
Should fix the 'crash' bug related to input > 2 kb, as well as fix the mobile deletion crash bug, also a small memory leak plugged
This commit is contained in:
@@ -1906,7 +1906,7 @@ static int process_input(struct descriptor_data *t)
|
||||
return (-1);
|
||||
}
|
||||
|
||||
bytes_read = perform_socket_read(t->descriptor, read_buf, MAX_PROTOCOL_BUFFER);
|
||||
bytes_read = perform_socket_read(t->descriptor, read_buf, space_left);
|
||||
|
||||
if ( bytes_read >= 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user