You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like all prior testing (and even fuzzing) missed the case where a block is encoded as incompressible and then the following block has backreferences into the previous block.
We were handling this case incorrectly by ignoring incompressible/literal blocks entirely w.r.t. updating the block rollover window.
Fixed by moving the window update code so that it runs for both compressed and literal blocks.
Really like this crate, nice work @main--!
I bumped into a decompression that fails. It's truncated below but here's a link to the full code.
The compressed bytes are identical to the output of the
lz4
crate with default config.The text was updated successfully, but these errors were encountered: