servo / rust-url

URL parser for Rust
https://docs.rs/url/
Apache License 2.0
1.27k stars 317 forks source link

fix panic on `xn--55555577` #940

Closed Byron closed 2 weeks ago

Byron commented 2 weeks ago

This PR fixes a panic discovered by clusterfuzz via gitoxide (PR).

Details can be found in https://github.com/Byron/gitoxide/issues/1401 (but only once the bug is considered fixed by the fuzzer).

Notes for the Reviewer

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@3d6dbbb). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #940 +/- ## ======================================= Coverage ? 79.83% ======================================= Files ? 23 Lines ? 4220 Branches ? 0 ======================================= Hits ? 3369 Misses ? 851 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.