Page 1 of 1

How reliable is python's parameterless zlib.decompress?

Posted: Tue Oct 22, 2019 4:07 pm
by JohnHudeski
I decompressed a bunch of text files from Backbreaker and there are some strange artifacts like duplicated strings or fragmented.
Basically, it works 90% of the time and then fails catastrophically. I dont know if it is because of my call conventions

Code: Select all

bReader = open(f, "rb")  
outData = zlib.decompress(bReader.read(sz))
PS would it matter if I used a file larger than Compressed (AKA i added extra bits to the compressed data)

Re: How reliable is python's parameterless zlib.decompress?

Posted: Wed Oct 23, 2019 12:07 am
by JohnHudeski
Zlib was not the problem