Merge pull request #23986 from headshog:fix-numtrunc

Numeric truncation at `tif_dirread.c:4386`
This commit is contained in:
Alexander Smorkalov 2023-07-27 12:27:47 +03:00 committed by GitHub
commit 5fc2564c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4371,7 +4371,7 @@ static void
TIFFReadDirectoryCheckOrder(TIFF* tif, TIFFDirEntry* dir, uint16 dircount)
{
static const char module[] = "TIFFReadDirectoryCheckOrder";
uint16 m;
uint32 m;
uint16 n;
TIFFDirEntry* o;
m=0;