Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hardcode HOST_FILLORDER to FILLORDER_LSB2MSB, and make 'H' flag of ↵ | Even Rouault | 2023-05-09 | 3 | -5/+27 |
| | | | | TIFFOpen() to warn and an alias of FILLORDER_MSB2LSB | ||||
* | tif_lerc.c: use WORDS_BIGENDIAN instead of HOST_BIGENDIAN | Even Rouault | 2023-05-09 | 1 | -1/+1 |
| | |||||
* | Merge branch 'fix_484_TIFFDirectory_32_64_bit' into 'master' | Even Rouault | 2023-05-07 | 2 | -5/+5 |
|\ | | | | | | | | | | | | | Fix 484 TIFFDirectory td_fieldsset uses unsigned long which can be 32 or 64 bits. Closes #484 See merge request libtiff/libtiff!471 | ||||
| * | Fix 484 TIFFDirectory td_fieldsset uses unsigned long which can be 32 or 64 ↵ | Su_Laus | 2023-02-08 | 2 | -5/+5 |
| | | | | | | | | | | | | bits. Closes #484 | ||||
* | | Merge branch 'DNG_1.6_EP_tags' into 'master' | Even Rouault | 2023-05-07 | 4 | -1137/+961 |
|\ \ | | | | | | | | | | | | | Add DNG tags up to version 1.6.0.0 and some TIFF/EP tags and update documentation See merge request libtiff/libtiff!482 | ||||
| * | | Add DNG tags up to version 1.6.0.0 and some TIFF/EP tags and update ↵ | Su_Laus | 2023-04-25 | 4 | -1137/+961 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation Amend MR !337 'Add support for DNG tags up to version 1.6.0.0 and some TIFF/EP tags' from Sami Liedes: - Set most tags to OkToChange=1. - Define BATTERYLEVEL tag as ASCII and convert values of rational variant to ASCII. - TIFF documentation updated for tags recognized by LibTiff (DNG 1.6 and others). - TIFF/EP tags added, which are equivalent to EXIF tags. This addresses part of #418 as well. - Definition of tags reformatted (clang-format off) for better readability of tag comments in tiff.h and tif_dirinfo.c | ||||
* | | | Merge branch 'fix_548' into 'master' | Even Rouault | 2023-05-06 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | LZWDecode(): avoid crash when trying to read again from a strip whith a... Closes #548 See merge request libtiff/libtiff!484 | ||||
| * | | | LZWDecode(): avoid crash when trying to read again from a strip whith a ↵ | Even Rouault | 2023-04-29 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | missing end-of-information marker (fixes #548) | ||||
* | | | | tif_ojpeg.c fix 554 by checking for division by zero | Su Laus | 2023-05-06 | 1 | -0/+3 |
|/ / / | |||||
* | | | countInkNamesString(): fix `UndefinedBehaviorSanitizer`: applying zero ↵ | xiaoxiaoafeifei | 2023-04-21 | 1 | -2/+2 |
|/ / | | | | | | | offset to null pointer | ||||
* | | Even faster TIFFSetDirectory() using IFD list. | Su Laus | 2023-03-26 | 4 | -36/+147 |
| | | |||||
* | | Optimize relative seeking with TIFFSetDirectory | Su Laus | 2023-03-12 | 4 | -13/+49 |
| | | |||||
* | | Merge branch 'fix_Unlink_first_directory_0' into 'master' | Even Rouault | 2023-02-16 | 1 | -0/+18 |
|\ \ | | | | | | | | | | | | | Fix TIFFUnlinkDirectory(0) case and unlink of first directory. See merge request libtiff/libtiff!460 | ||||
| * | | Fix TIFFUnlinkDirectory(0) case and unlink of first directory. | Su_Laus | 2023-02-04 | 1 | -0/+18 |
| |/ | | | | | | | | | | | | | | | If directory number 0 is unlinked, then the base offset variables within LibTiff are not updated. As a result, a subsequent TIFFSetDirectory() first goes to the unlinked former directory number 0. In addition, the error case for dirn=0 is handled. This MR fixes that by updating the base offset variables tif->tif_header.classic.tiff_diroff and tif->tif_header.big.tiff_diroff. | ||||
* | | tif_luv: Check and correct for NaN data in uv_encode(). | Su_Laus | 2023-02-16 | 1 | -0/+7 |
|/ | | | | | | Closes #530 See merge request !473 | ||||
* | TIFFClose() avoid NULL pointer dereferencing. fix#515 | Su_Laus | 2023-02-03 | 1 | -4/+7 |
| | | | | Closes #515 | ||||
* | Add versioninfo resource files for DLL and tools compiled with Windows MSVC ↵ | Su Laus | 2023-01-25 | 2 | -0/+59 |
| | | | | and MINGW. | ||||
* | tif_hash_set.c: include tif_hash_set.h after tif_config.h to let a chance ↵ | Even Rouault | 2023-01-22 | 1 | -1/+2 |
| | | | | for GDAL symbol renaming trick | ||||
* | Fax3: fix failure to decode some fax3 images (fixes #513) | Even Rouault | 2023-01-21 | 1 | -1/+1 |
| | | | | Patch by @jsummers26 | ||||
* | Remove use of tif_dirnumber | Even Rouault | 2023-01-06 | 6 | -18/+4 |
| | |||||
* | TIFFSetSubDirectory(): call _TIFFCleanupIFDOffsetAndNumberMaps() | Even Rouault | 2023-01-06 | 1 | -0/+1 |
| | |||||
* | struct tiff: remove unused tif_dirlistoff | Even Rouault | 2023-01-06 | 1 | -5/+3 |
| | |||||
* | TIFFUnlinkDirectory(): reset tif_dirnumber | Even Rouault | 2023-01-06 | 1 | -0/+1 |
| | |||||
* | Add _TIFFCleanupIFDOffsetAndNumberMaps() and call it from TIFFUnlinkDirectory() | Even Rouault | 2023-01-06 | 3 | -2/+23 |
| | |||||
* | Disable clang-formatting for tif_config.h.cmake.in and tiffconf.h.cmake.in ↵ | Su_Laus | 2022-12-28 | 4 | -4/+8 |
| | | | | because sensitive for CMake scripts. - explanation added | ||||
* | Disable clang-formatting for tif_config.h.cmake.in and tiffconf.h.cmake.in ↵ | Su_Laus | 2022-12-26 | 4 | -0/+28 |
| | | | | because sensitive for CMake scripts. | ||||
* | Behavior of TIFFOpen() mode "r+" in the Windows implementation adjusted to ↵ | Su_Laus | 2022-12-16 | 1 | -1/+1 |
| | | | | that of Linux. | ||||
* | TIFFSetDirectory: avoid harmless unsigned-integer-overflow | Even Rouault | 2022-12-15 | 1 | -2/+6 |
| | | | | Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54343 | ||||
* | Merge branch 'ossfuzz_54311' into 'master' | Even Rouault | 2022-12-14 | 1 | -1/+6 |
|\ | | | | | | | | | TIFFWriteDirectorySec(): avoid harmless unsigned-integer-overflow See merge request libtiff/libtiff!446 | ||||
| * | TIFFWriteDirectorySec(): avoid harmless unsigned-integer-overflow | Even Rouault | 2022-12-14 | 1 | -1/+6 |
| | | | | | | | | Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54311 | ||||
* | | tif_hash_set.c: add a tif_config.h include (mostly for GDAL renaming symbols ↵ | Even Rouault | 2022-12-14 | 1 | -0/+1 |
|/ | | | | trick) | ||||
* | TIFFAdvanceDirectory()/TIFFUnlinkDirectory(): fix build warnings/errors on ↵ | Even Rouault | 2022-12-13 | 1 | -4/+3 |
| | | | | OSX due to uint16_t->tdir_t type change | ||||
* | TIFFHashSetInsert(): fix potential memleak | Even Rouault | 2022-12-13 | 1 | -1/+6 |
| | |||||
* | _TIFFCheckDirNumberAndOffset(): fix recently introduced use-after-free found ↵ | Even Rouault | 2022-12-13 | 1 | -4/+19 |
| | | | | by CIFuzz on GDAL | ||||
* | _TIFFCheckDirNumberAndOffset: fix a previous commit | Even Rouault | 2022-12-13 | 1 | -2/+2 |
| | |||||
* | Prepare libtiff v4.5.0rc2 | Even Rouault | 2022-12-13 | 1 | -1/+1 |
| | |||||
* | Fix IFD loop detection | Even Rouault | 2022-12-13 | 6 | -29/+68 |
| | |||||
* | Use UINT_MAX | Even Rouault | 2022-12-13 | 2 | -5/+7 |
| | |||||
* | Make TIFF_MAX_DIR_COUNT a autoconf/CMake setting | Even Rouault | 2022-12-13 | 4 | -5/+10 |
| | |||||
* | Add a TIFF_MAX_DIR_COUNT public #define | Even Rouault | 2022-12-12 | 2 | -5/+13 |
| | |||||
* | TIFFCurrentDirectory(), TIFFNumberOfDirectories(), TIFFSetDirectory(), ↵ | Even Rouault | 2022-12-12 | 6 | -51/+51 |
| | | | | TIFFUnlinkDirectory(): use tdir_t that is now a uint32_t, and raise limit of IFDs to 1048576 | ||||
* | IFD loop checking: use hashmap to avoid quadratic performance | Even Rouault | 2022-12-12 | 4 | -86/+143 |
| | |||||
* | Add a hashset/hashmap implementation (ported from GDAL's CPLHashSet) | Even Rouault | 2022-12-12 | 4 | -0/+700 |
| | |||||
* | Make TIFFSetDirectory(tiff, 65534) work again (fixes #502) | Even Rouault | 2022-12-12 | 1 | -12/+8 |
| | |||||
* | tiffvers.h.in: add clang-format off/on | Even Rouault | 2022-12-11 | 2 | -0/+14 |
| | |||||
* | tiffvers.h: add TIFFLIB_MAJOR_VERSION, TIFFLIB_MINOR_VERSION, ↵ | Even Rouault | 2022-12-10 | 2 | -1/+29 |
| | | | | | | TIFFLIB_MICRO_VERSION defines Also add a TIFFLIB_AT_LEAST() macro | ||||
* | tiffvers.h: revert formatting | Even Rouault | 2022-12-10 | 1 | -3/+1 |
| | |||||
* | Prepare v4.5.0 release | Even Rouault | 2022-12-09 | 1 | -2/+2 |
| | |||||
* | Reformatting in libtiff/ using 'pre-commit run' | pre-commit run by Even Rouault | 2022-12-08 | 55 | -35591/+38691 |
| | |||||
* | Remove vim/emacs formatting footers | Even Rouault | 2022-12-08 | 51 | -436/+0 |
| |