Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic in DatagramRecv::try_from with empty buffer #532

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

OxleyS
Copy link
Contributor

@OxleyS OxleyS commented Jun 19, 2024

MultiplexKind (and, by extension, callers such as DatagramRecv) didn't check for an empty buffer before attempting to read the first byte, causing a panic.

@algesten algesten merged commit e35c533 into algesten:main Jun 19, 2024
21 of 22 checks passed
@algesten
Copy link
Owner

Thanks!

@OxleyS OxleyS deleted the empty-datagram-tryfrom branch June 19, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants