Commits on Source (6)
-
Some small fuzzer files fake large amounts of data and provoke out-of-memory situations. For non-compressed data content / tags, out-of-memory can be prevented by comparing with the file size. At image reading, data size of some tags / data structures (StripByteCounts, StripOffsets, StripArray, TIFF directory) is compared with file size to prevent provoked out-of-memory attacks. See issue libtiff/libtiff#614 (comment 1602683857)
-
Even Rouault authored
Prevent some out-of-memory attacks See merge request !545
-
Kurt Schwehr authored
-
Even Rouault authored
tif_dirread.c: Fix typo: greather -> greater See merge request !548
-
Even Rouault authored
Ammends 5320c9d8 This fixes a performance regression caught by the GDAL regression test suite.
-
Even Rouault authored
tif_dirread.c: only issue TIFFGetFileSize() for large enough RAM requests See merge request !549