mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fixed things
This commit is contained in:
parent
cef4347a02
commit
991436993f
3 changed files with 16 additions and 7 deletions
|
|
@ -123,7 +123,7 @@ class RCONInstance extends Thread{
|
|||
}
|
||||
@socket_set_block($client);
|
||||
$size = Utils::readLInt($d);
|
||||
if($size < 0){
|
||||
if($size < 0 or $size > 65535){
|
||||
return false;
|
||||
}
|
||||
$requestID = Utils::readLInt(socket_read($client, 4));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue