Fix buffer overrun

git-svn-id: https://svn.eduke32.com/eduke32@7302 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-01-12 00:21:44 +00:00
parent a401dfed47
commit c9390f1845

View file

@ -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; tempnetbuf[0] = PACKET_WORLD_UPDATE;