Commits
Commits on
84fa44cfe66f76e22181d4ff8bc06ef6ea78db07Filtered to crates/ec-image/src/tiff.rsClear filter2026-08-26
fix(image): close a TIFF LZW dictionary-corruption cycle that grew unboundedAhmet Kaan Gümüş · 55b1d36
fix(image): close a TIFF LZW dictionary-corruption cycle that grew unbounded A code strictly greater than the dictionary's next slot was accepted into the KwKwK branch and stored as `previous`; a later entry then chained through that out-of-range value, breaking the prefix-chain invariant and letting the decode walk cycle, growing `stack` to gigabytes on a fuzzed 8950-byte fixture. Require code == next for KwKwK; anything else is corrupt input, not a decodable stream.