Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check IP/UDP header size before trying to access it
This should fix the panic we've seen with the malformed packets on the wire. Remaining buffer size should be checked before trying to access the data, otherwise Go might panic on out of bounds slice operation. Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information