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

zlib: decompression throw on truncated input #2595

Closed
wants to merge 1 commit into from

Commits on Sep 28, 2015

  1. zlib: decompression throw on truncated input

    Check for unexpected end-of-file error when decompressing.
    If the output buffer still has space after decompressing and deflate
    returned Z_OK or Z_BUF_ERROR - that means unexpected end-of-file.
    Added test-zlib-truncated.js for the case of truncated input.
    Fixed the zlib dictionary test to not end the inflate stream on a
    truncated output (no crc) of deflate
    jhamhader committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    aae310e View commit details
    Browse the repository at this point in the history