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

Avoid huffman tree buffer overrun in huffman_import_tree_rle #91

Merged
merged 1 commit into from
Feb 19, 2023

Conversation

flyinghead
Copy link
Contributor

I was able to easily trigger a heap corruption on Windows by forcing repcount to the max value. This can happen with corrupted CHDs and it is very similar to a number of crash reports i received.

Issue #90

@rtissera
Copy link
Owner

Great catch, let's merge.

@rtissera rtissera merged commit 4ddae00 into rtissera:master Feb 19, 2023
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.

2 participants