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

panicked at 'range end index 2 out of range for slice of length 1', /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mdns-sd-0.10.5/src/dns_parser.rs:1144:38 #233

Closed
rise0chen opened this issue Aug 5, 2024 · 2 comments

Comments

@rise0chen
Copy link
Contributor

panicked at 'range end index 2 out of range for slice of length 1', /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mdns-sd-0.10.5/src/dns_parser.rs:1144:38

@keepsimple1
Copy link
Owner

keepsimple1 commented Aug 5, 2024

Thanks for opening this issue. I've opened a PR to catch such error. If that works, I will add similar checks for some other internal functions as well.

If you have time, could you help check if the patch works for you?

@keepsimple1
Copy link
Owner

I've merged in the patch. If there are any problems, please feel free to re-open this issue or create a new one.

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

No branches or pull requests

2 participants