Closed CarlosEduR closed 1 month ago
cc @lemire i have bad news and good news
@anonrig
Indeed, the fuzzer found a bug, here it is...
https://github.com/ada-url/ada/pull/659
It is easy to narrow it down, just follow this recipe:
https://gist.github.com/lemire/f501b3b2bb8c33673de4f0a0674a6112
Takes a minute!!!
Fuzzers are great.
I expect that I have a fix for the bug in question at https://github.com/ada-url/ada/pull/659
@CarlosEduR Please rebase. I have merged a bug fix.
thanks @lemire! I was initially thinking it was something with the .to_string(), but now I see it was with the .set_pathname().
See #662
@lemire about this comparative fuzzer, are you thinking about comparing the results of the get_href between the ada::url and the ada::url_aggregator in the fuzzer?
I am!!!!!!!!!
I am!!!!!!!!!
@lemire assertion added!
In order to improve the line coverage for fuzz testing, add fuzzer for
set_href
andget_href