keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
102 stars 39 forks source link

panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mdns-sd-0.11.3/src/dns_parser.rs:1465:26: range end index 9002 out of range for slice of length 8972 #249

Closed rise0chen closed 2 months ago

rise0chen commented 2 months ago

panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mdns-sd-0.11.3/src/dns_parser.rs:1465:26: range end index 9002 out of range for slice of length 8972

keepsimple1 commented 2 months ago

Thanks for opening this issue! I've created a patch to fix this. If you could verify the fix, that will be great!

rise0chen commented 2 months ago

I create a PR https://github.com/keepsimple1/mdns-sd/pull/251

We can test some random data

keepsimple1 commented 2 months ago

Thanks! PRs merged. I kind of made a mess of the commit history as it's the first time I merge PR into a feature branch and then into the main ;-)