-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May panic due to unwrap on Err #200
Comments
Thanks for filing an issue! This particular behavior is expected, although we could maybe have a better panic message and need to add a section to the docs explaining that this can happen. One can use Can you share the fuzz target you've written? Could be good to get |
@fitzgen Thanks for your reply! I place the replay code on replay_files. The file contains three lines of code, but the bug is triggered in the first line of code. The reported bug is in lib.rs: 468 where the code is It uses |
I've using afl.rs to fuzz this crate. And I found a panic issue. The code to replay the issue is
And from the panic reportn, it seems that this panic is caused by use unwrap on a Result which may return err.
![image](https://user-images.githubusercontent.com/58699405/229958760-64185195-66ae-481e-a284-1eaf316c2605.png)
I hope you can check if this is a bug need to be fixed. Thanks a lot.
The text was updated successfully, but these errors were encountered: