servo / rust-url

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

parse: fuzzing errors #867

Closed 0x61nas closed 10 months ago

0x61nas commented 10 months ago

I just ran the fazzer on the parse method and it found some panics, which may be interested in.

ws:

x
n--

x
n--

-

The minimized cases:

``` ws: xn--xn-- - ``` ``` ws: x n--x n-- - ``` ``` ws: x n--x n-- - ``` ``` ws: xn--x n-- - ``` ``` ws:xn--xn--- ```