Closed nneonneo closed 2 years ago
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.
str
bytes
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.
uncompressed_data
The LZX decoder was incorrectly outputting
str
instead of abytes
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.