Libtiff has a mechanism to detect IFD circular chains and issue warning /
error messages.
However, the apps need to check and handle libtiff function return codes
accordingly.
A test or example for that is provided at  "test/test_ifd_loop_detection.c"

-----Ursprüngliche Nachricht-----
Von: Tiff [mailto:[email protected]] Im Auftrag von Larry Gritz
via Tiff
Gesendet: Montag, 29. Juni 2026 22:32
An: [email protected]
Betreff: [Tiff] Circular IFD protection?

Does libtiff internally already protect apps reading tiff files from getting
into infinite loops by malformed TIFF files containing IFD circular chains?

--
Larry Gritz
[email protected]



_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to