Merge pull request #23986 from headshog:fix-numtrunc

Numeric truncation at `tif_dirread.c:4386`
pull/24069/head
Alexander Smorkalov 2 years ago committed by GitHub
commit 5fc2564c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      3rdparty/libtiff/tif_dirread.c

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

Loading…
Cancel
Save