Skip to content

IP6OPTS: Modernize packet parsing and make fixes #1348

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

Merged
merged 1 commit into from
Jul 27, 2025

Conversation

fxlb
Copy link
Member

@fxlb fxlb commented Jul 27, 2025

Define ND_LONGJMP_FROM_TCHECK and remove four 'trunc' labels.
Report invalid packets as invalid with a reason, not truncated.
Use ND_ICHECKMSG_U() for some length tests and add four 'invalid' labels.
Update the output for unknown options/suboptions.
Use some unsigned when needed.
Add some 'const'.

Update the outputs of some tests accordingly.

Define ND_LONGJMP_FROM_TCHECK and remove four 'trunc' labels.
Report invalid packets as invalid with a reason, not truncated.
Use ND_ICHECKMSG_U() for some length tests and add four 'invalid' labels.
Update the output for unknown options/suboptions.
Use some unsigned when needed.
Add some 'const'.

Update the outputs of some tests accordingly.
@fxlb fxlb merged commit 641bd6e into the-tcpdump-group:master Jul 27, 2025
21 checks passed
@fxlb fxlb deleted the ip6opts branch July 27, 2025 16:26
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.

1 participant