From 09a40073a55b9ab7540e47b5f4bdf6b25265cfc0 Mon Sep 17 00:00:00 2001 From: headshog <craaaaaachind@gmail.com> Date: Thu, 13 Jul 2023 14:13:07 +0300 Subject: [PATCH] fix numtrunc at tiff_dirread.c --- libtiff/tif_dirread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtiff/tif_dirread.c b/libtiff/tif_dirread.c index 717cbc844..2c49dc6aa 100644 --- a/libtiff/tif_dirread.c +++ b/libtiff/tif_dirread.c @@ -5038,7 +5038,7 @@ static void TIFFReadDirectoryCheckOrder(TIFF *tif, TIFFDirEntry *dir, uint16_t dircount) { static const char module[] = "TIFFReadDirectoryCheckOrder"; - uint16_t m; + uint32_t m; uint16_t n; TIFFDirEntry *o; m = 0; -- GitLab