Skip to content

Fix MiniZ HuffDecode in tinfl_decompress#2349

Open
Fusioon wants to merge 1 commit intobeefytech:masterfrom
Fusioon:miniz-fix
Open

Fix MiniZ HuffDecode in tinfl_decompress#2349
Fusioon wants to merge 1 commit intobeefytech:masterfrom
Fusioon:miniz-fix

Conversation

@Fusioon
Copy link
Contributor

@Fusioon Fusioon commented Oct 24, 2025

Recently noticed that some archived files report error on decompression with tinfl_decompress returning HasMoreOutput but the extracted data would be valid. This PR fixes that by removing the cast to uint16 since the values in m_tree can be negative

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