Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NetworkPacket::putRawPacket: resize m_data to datasize + memcpy
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
- Loading branch information