Skip to content

Reset the stream checksum in mz_deflateReset - #400

Open
astunm wants to merge 1 commit into
richgel999:masterfrom
astunm:fix/deflate-reset-checksum
Open

astunm wants to merge 1 commit into
richgel999:masterfrom
astunm:fix/deflate-reset-checksum

Conversation

@astunm

@astunm astunm commented Nov 11, 2026

Copy link
Copy Markdown

Reset stream.adler along with the compressor state in mz_deflateReset. Previously, the checksum from the last stream remained visible after resetting.

Tests: regression fails before the fix; all 9 Catch cases pass afterward (131409 assertions), plus both CTest tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant