mirror of https://github.com/minetest/minetest.git
In some cases NetworkPacket was created using default constructor and m_data is not properly sized. This fixed out of bounds memory copy Also use memcpy instead of std::vector affectation to enhance packet creation |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
address.cpp | ||
address.h | ||
clientopcodes.cpp | ||
clientopcodes.h | ||
clientpackethandler.cpp | ||
connection.cpp | ||
connection.h | ||
connectionthreads.cpp | ||
connectionthreads.h | ||
networkexceptions.h | ||
networkpacket.cpp | ||
networkpacket.h | ||
networkprotocol.h | ||
peerhandler.h | ||
serveropcodes.cpp | ||
serveropcodes.h | ||
serverpackethandler.cpp | ||
socket.cpp | ||
socket.h |