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

Tracer panic for ICMP extension #1287

Closed
fujiapple852 opened this issue Aug 20, 2024 · 2 comments · Fixed by #1294
Closed

Tracer panic for ICMP extension #1287

fujiapple852 opened this issue Aug 20, 2024 · 2 comments · Fixed by #1294
Labels
bug Something isn't working icmp packet
Milestone

Comments

@fujiapple852
Copy link
Owner

fujiapple852 commented Aug 20, 2024

Tracer panic:

thread 'tracer-23144' panicked at crates/trippy-packet/src/icmp_extension.rs:426:33:
range end index 42973 out of range for slice of length 416

Attempting to reproduce and capture the offending packet.

@fujiapple852
Copy link
Owner Author

Unable to reproduce whilst capturing packets. Instead I created a synthetic test case based on the error message and fixed based on that. Provisional fix in #1294.

@fujiapple852
Copy link
Owner Author

Still unable to reproduce despite exhaustive attempts.

The change in #1294 fixes an issue and even if it does not fix the issue (it almost certainly does) it is still a valid fix and will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working icmp packet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant