pfalcon / uzlib

Radically unbloated DEFLATE/zlib/gzip compression/decompression library. Can decompress any gzip/zlib data, and offers simplified compressor which produces gzip-compatible output, while requiring much less resources (and providing less compression ratio of course).
Other
303 stars 82 forks source link

out.outbuf pointer address is reset to 0 while compressing 74KB text file #43

Closed csann closed 1 year ago

csann commented 2 years ago

After calling uzlib_compress, comp.outlen shows my file was compressed from 74KB to around 10KB however the pointer comp->outbuf is set to 0. So I can see the compression performed very well but I cannot access the compressed data.

I have put breakpoints inside of outbits and I can see outbuf has a good pointer for a long while but is eventually corrupted. I do not understand the code well enough to determine what is going wrong, or when it goes wrong.

Do you have any suggestions?

github-actions[bot] commented 1 year ago

Thanks for your submission. However there was no (further) activity on it for some time. Below are possible reasons and/or means to proceed further:

Thanks for your understanding!

github-actions[bot] commented 1 year ago

Closing due to inactivity.