mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-08 03:32:19 +00:00
The TIFF guard read the first Compression tag, but the tiff crate keeps the last copy of a tag. An allowed first value (none, LZW...) could hide a JPEG compression after it, and the JPEG strips are then decoded by a nested decoder with its own limits, outside the caller's budget.