Skip to content

fix: validate optional/extension header bytes are present#1377

Merged
gruyaume merged 6 commits into
mainfrom
dev-bpftests
Jun 1, 2026
Merged

fix: validate optional/extension header bytes are present#1377
gruyaume merged 6 commits into
mainfrom
dev-bpftests

Conversation

@gruyaume

@gruyaume gruyaume commented Jun 1, 2026

Copy link
Copy Markdown
Member

Description

Validate that the optional/extension header bytes are actually present before the parser advances past them, and fail closed (drop the packet cleanly) if they aren't.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

gruyaume added 5 commits June 1, 2026 11:57
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
Signed-off-by: Guillaume Belanger <guillaume.belanger27@gmail.com>
@gruyaume
gruyaume merged commit bb51218 into main Jun 1, 2026
36 checks passed
@gruyaume
gruyaume deleted the dev-bpftests branch June 1, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants