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(dhcpv4): panic when parsing address #843

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

thvdveld
Copy link
Contributor

If the domain name server address list did not contain the correct amount of bytes, then the last chunk was not 4 bytes long and Ipv4Address::from_bytes would panic.

If the domain name server address list did not contain the correct amount of
bytes, then the last `chunk` was not 4 bytes long and
`Ipv4Address::from_bytes` would panic.
@thvdveld thvdveld added this pull request to the merge queue Sep 20, 2023
Merged via the queue into smoltcp-rs:main with commit edfdb23 Sep 20, 2023
9 checks passed
@thvdveld thvdveld deleted the fix-dhcpv4-parse branch September 20, 2023 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant