mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix buffer overrun
git-svn-id: https://svn.eduke32.com/eduke32@7302 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a401dfed47
commit
c9390f1845
1 changed files with 1 additions and 1 deletions
|
@ -4250,7 +4250,7 @@ static void Net_SendWorldUpdate(uint32_t fromRevisionNumber, uint32_t toRevision
|
|||
}
|
||||
|
||||
|
||||
Bmemset(byteBuffer, 0, sizeof(tempnetbuf));
|
||||
Bmemset(byteBuffer, 0, sizeof(tempnetbuf) - 1);
|
||||
|
||||
tempnetbuf[0] = PACKET_WORLD_UPDATE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue