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

uipbuf: Do not assume that there is enough space for a following extension header #1648

Merged
merged 1 commit into from Sep 30, 2021

Conversation

nvt
Copy link
Member

@nvt nvt commented Sep 20, 2021

When processing IPv6 extension headers in uipbuf.c, we need to check the offset before casting to a uip_ext_hdr pointer.

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.

Looks good.

@nfi nfi merged commit 80a5479 into contiki-ng:develop Sep 30, 2021
17 checks passed
@nvt nvt deleted the prevent-uipbuf-oob-read 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