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

Check RPL Target prefix length and buffer boundary. #1615

Merged
merged 1 commit into from Sep 24, 2021

Conversation

nvt
Copy link
Member

@nvt nvt commented Jul 9, 2021

RPL-Classic accepts RPL Target options in DAO messages with invalid prefix lengths. Additionally, it does not check whether there are enough bytes in the packets to copy a prefix of this length. This PR adds checks for these conditions so that the DAO message can be discarded.

Copy link
Member

@nfi nfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important check to have. Thanks for fixing!

@nfi nfi merged commit ae1218f into contiki-ng:develop Sep 24, 2021
17 checks passed
@nvt nvt deleted the check-rpl-target-option branch June 10, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants