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

Validate Source Routing Header (SRH) parameter #1183

Merged
merged 2 commits into from Mar 6, 2020

Conversation

nvt
Copy link
Member

@nvt nvt commented Jan 28, 2020

As recommended on page 9 in RFC 6554, the segments_left field should be checked before continuing the packet processing. Otherwise, the index of the next address to be visited, which is calculated on line 242, can be used to make addr_ptr point outside the packet data.

@simonduq simonduq merged commit ebd4cae into contiki-ng:develop Mar 6, 2020
@nvt nvt deleted the check-srh-param branch October 9, 2020 14:00
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