-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore using
NoMoreImageData
errors.
#496 has incorrectly started to return `UnexpectedEof` in a situation when when there is no `Read`-level EOF. In particular, this may happen when an `IDAT` of `fdAT` chunk has been fully decoded, decompressed, and flushed, but still doesn't contain the expected number of image pixels. In such a situation the old `NoMoreImageData` error was appropriate. In a sense, this commit is a partial revert and/or refactoring of the earlier commit b5b0674 This commit fixes a timeout found locally by the `buf_independent` fuzzer. The repro case has been saved under `fuzz/corpus/buf_independent/regressions`.
- Loading branch information
1 parent
589a45e
commit ab0e86c
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
Binary file added
BIN
+176 Bytes
...orpus/buf_independent/regressions/minimized-from-110a360793767757e44c9e4b95c495666e39e672
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
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