mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-06-03 17:54:45 +00:00
fix: add splitscreen, fix dlcs not loading, major RCE vuln fix on packet net, fix chunk loading on non-server clients, persistent saves
note: I changed how XUID works, player data might be wiped on old saves, save items on a chest or similar before trying to load old saves on new version
This commit is contained in:
@@ -42,7 +42,7 @@ void UpdateGameRuleProgressPacket::read(DataInputStream *dis) //throws IOExcepti
|
||||
m_dataTag = dis->readInt();
|
||||
int dataLength = dis->readInt();
|
||||
|
||||
if(dataLength > 0)
|
||||
if(dataLength > 0 && dataLength <= 65536)
|
||||
{
|
||||
m_data = byteArray(dataLength);
|
||||
dis->readFully(m_data);
|
||||
|
||||
Reference in New Issue
Block a user