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

Fix LZX decompression #66

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Fix LZX decompression #66

merged 2 commits into from
Feb 3, 2022

Conversation

nneonneo
Copy link
Collaborator

The LZX decoder was incorrectly outputting str instead of a bytes type. Furthermore, it was improperly handling Intel jump fixups causing the output data to be subtly corrupted.

This patch fixes both issues and has been tested by exporting uncompressed_data from https://github.com/pushcx/corefonts/blob/master/arial32.exe and checking the output against cabextract's output.

@nneonneo nneonneo changed the title Fix #65 Fix LZX decompression Jun 23, 2021
@nneonneo nneonneo merged commit 29944e9 into vstinner:main Feb 3, 2022
@nneonneo nneonneo deleted the fix-65 branch April 5, 2023 07:04
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.

None yet

1 participant