Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

deflate error Z_BUF_ERROR for particular input data for compression level 1 only #12

@yanqi27

Description

@yanqi27

This seems related to issue 10. I tested branch "issue10" which doesn't solve the error. I could narrow down the issue to a small test. please see the attached code and binary input data. The following command will show the problem.
$a.out image_dd
rc=Z_BUF_ERROR`` Failedto compress the input file at offset 0x0

zlib_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions