sile / libflate

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

Panics on debug_assert failures #15

Closed daniellockyer closed 6 years ago

daniellockyer commented 6 years ago

I am able to trigger 3 debug_assert failures by passing inputs to this library. I found them using honggfuzz and through the usvg library.

I opened issues over there but they are caused by this library:

The inputs I gave to that library are given, along with the backtraces. I figure there should be some checks and handling added somewhere.

sile commented 6 years ago

Thank you for reporting these problems. I will investigate the causes.

sile commented 6 years ago

I fixed the problems and released v0.1.16.

daniellockyer commented 6 years ago

Excellent - thanks!