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.

invalid output from deflate_medium #2

@jsnell

Description

@jsnell

The deflate_medium strategy occasionally produces outputs that are corrupt in various ways. The archive http://jsnell.iki.fi/tmp/deflate-medium-testcase.tar.gz has a minimal test case. The result of running it against this zlib at level 5 can't be decompressed, but can be if run at level 9. Likewise decompressing the output works with baseline zlib at all levels.

This test case has been heavily pruned from a much larger one. I'm hoping there's just one bug here, but it's possible there are multiple, since the behavior is occasionally different with the larger test cases. (I can't really direct the automated pruning process in any way, so if there are multiple issues, creating a minimal test case would require that this issue be fixed).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions