-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid infinite loops in
buf_independent
fuzzer after real EOF.
A truncated PNG file can legitimately result in an `UnexpectedEof` error being reported. Before this commit, `fn retry_after_eofs` in the `buf_independent.rs` fuzzer would repeatedly try to resume such unresumable input. Fuzzing found an example that illustrates the problem described above. This example is being added to fuzz/corpus/buf_independent/regressions/.... This example was originally reported at https://oss-fuzz.com/testcase-detail/5790077345660928
- Loading branch information
1 parent
d1027ab
commit 3ac45a6
Showing
2 changed files
with
54 additions
and
29 deletions.
There are no files selected for viewing
Binary file added
BIN
+46 Bytes
...f_independent/regressions/clusterfuzz-testcase-minimized-buf_independent-5790077345660928
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters