LCEMP RCE Fixes WIP

Based on d017bfc30a
This commit is contained in:
Loki Rautio
2026-03-09 04:46:37 -05:00
parent 0c4f459904
commit 164f034b0a
27 changed files with 223 additions and 80 deletions

View File

@@ -18,7 +18,7 @@ UpdateGameRuleProgressPacket::UpdateGameRuleProgressPacket(ConsoleGameRules::EGa
m_auxValue = auxValue;
m_dataTag = dataTag;
if(dataLength > 0)
if (dataLength > 0 && dataLength <= 65536)
{
m_data = byteArray(dataLength);
memcpy(m_data.data,data,dataLength);