diff options
| author | Loki Rautio <lokirautio@gmail.com> | 2026-03-09 04:46:56 -0500 |
|---|---|---|
| committer | Loki Rautio <lokirautio@gmail.com> | 2026-03-09 04:46:56 -0500 |
| commit | a358a3caaee2a4781f910cfb440bd822ae73a7e5 (patch) | |
| tree | 638ff44db51c8e27826e56bacb5af764f98ef2d0 /Minecraft.World/Socket.cpp | |
| parent | d557ca2dfba5ffcca99ceb41b07d149f871964b5 (diff) | |
Revert accidentally pushed "LCEMP RCE fixes"
This reverts commit d557ca2dfba5ffcca99ceb41b07d149f871964b5.
Diffstat (limited to 'Minecraft.World/Socket.cpp')
| -rw-r--r-- | Minecraft.World/Socket.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Minecraft.World/Socket.cpp b/Minecraft.World/Socket.cpp index 41ac3702..2d5b257d 100644 --- a/Minecraft.World/Socket.cpp +++ b/Minecraft.World/Socket.cpp @@ -141,11 +141,6 @@ void Socket::pushDataToQueue(const BYTE * pbData, DWORD dwDataSize, bool fromHos // dwDataSize, queueIdx, dwDataSize > 0 ? pbData[0] : 0, networkPlayerSmallId); EnterCriticalSection(&m_queueLockNetwork[queueIdx]); - if (m_queueNetwork[queueIdx].size() + dwDataSize > 2 * 1024 * 1024) - { - LeaveCriticalSection(&m_queueLockNetwork[queueIdx]); - return; - } for( unsigned int i = 0; i < dwDataSize; i++ ) { m_queueNetwork[queueIdx].push(*pbData++); |
