Skip to content
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

Restore using NoMoreImageData errors. #500

Merged
merged 1 commit into from
Sep 20, 2024

Commits on Sep 20, 2024

  1. Restore using NoMoreImageData errors.

    image-rs#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
    image-rs@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`.
    anforowicz committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    99a5e75 View commit details
    Browse the repository at this point in the history