mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-02 03:33:51 +00:00
Both operands are size_t (unsigned), so if readPos > data.size() the subtraction wrapped to ~0 instead of returning 0. This could happen via setReadPos() which has no bounds check. Downstream hasRemaining() was already safe but getRemainingSize() callers (e.g. hasFullPackedGuid) would see billions of bytes available. |
||
|---|---|---|
| .. | ||
| net_platform.hpp | ||
| packet.hpp | ||
| socket.hpp | ||
| tcp_socket.hpp | ||
| world_socket.hpp | ||