sile / libflate

A Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP)
https://docs.rs/libflate
MIT License
178 stars 35 forks source link

Fix for https://github.com/sile/libflate/issues/52 #53

Closed tonyastolfi closed 4 years ago

tonyastolfi commented 4 years ago

Hope this helps! I did a little digging on https://github.com/sile/libflate/issues/52 and was able to get the problem to go away on my local branch. No idea whether this is the cleanest solution or even technically correct. Tests all pass with the patch.


This change is Reviewable

sile commented 4 years ago

Sorry for the delayed response, and thank you for fixing this bug! This patch itself seems good but could you add your code as a test case to prevent future regression?

tonyastolfi commented 4 years ago

Thanks for taking a look! Added the test case, PTAL!

sile commented 4 years ago

Published the fixed version v1.0.2.