Improve packet reading memory safety #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, most network input functions operate on the buffer pointer to read additional data if necessary:
This behaviour is unsafe, as it might cause buffer overruns for malformed packets, and should be replaced with some kind of wrapper object that should check the buffer bounds.