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: 6lowpan could panic when frag datagram_size < 40 #997

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

thvdveld
Copy link
Contributor

6LoWPAN fragmentation could panic when the datagram_size in the fragmentation header is less than 40. When converting 6LoWPAN to IPv6 a minimum size of 40 bytes is required to put the IPv6 header in the buffer.

6LoWPAN fragmentation could panic when the datagram_size in the
fragmentation header is less than 40. When converting 6LoWPAN to IPv6 a
minimum size of 40 bytes is required to put the IPv6 header in the
buffer.
@Dirbaio Dirbaio added this pull request to the merge queue Sep 30, 2024
Merged via the queue into smoltcp-rs:main with commit 61156ed Sep 30, 2024
13 checks passed
@thvdveld thvdveld deleted the fix-6lowpan-fragmentation-panic branch September 30, 2024 11:51
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.

2 participants