mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 07:42:42 +00:00
oversized_tiff now also refuses a TIFF whose JPEG-compressed strip or tile (Compression 7) declares a frame wider or taller than the strip or tile, one with more than MAX_TIFF_CHUNKS strips or tiles, and one whose JPEG headers take more than 16,777,216 steps to read. It reads BigTIFF directories, follows the layout and the repeated tags the decoder reads, and refuses offsets of types it does not read.