Closed WIZeaz closed 6 months ago
Awesome, thanks for doing this! I don't have many opportunities to do fuzzing myself. :smile:
Thanks for the response, do you think these panics are really bugs? I think unreachable
and overflow
panics should not appear in any situation.
Yes, they are bugs. I had not accounted for these situations, so there are instances of unchecked math and broken assumptions from time to time.
Reproducer
This case panicked at 'internal error: entered unreachable code'
Panic information:
This case panicked at 'attempt to add with overflow'
panic information:
Summary
Hi, I am fuzzing this library with afl.rs, and I have found some panics. The version I test is 0.17.1. I hope you can check whether these cases are bugs.
Expected behavior
The first case should not reach unreachable code. Instead it should be reasonable to return an Result::Error. The second case should not panic at 'attempt to add with overflow'.
Assets
No response