]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=131
authorCristy <mikayla-grace@urban-warrior.org>
Tue, 19 Feb 2019 00:28:24 +0000 (19:28 -0500)
committerCristy <mikayla-grace@urban-warrior.org>
Tue, 19 Feb 2019 00:28:24 +0000 (19:28 -0500)
coders/tiff.c

index 4a7d872040049368acffbc9f40ad3607b368faab..6f37a1e4a79aa3d70998e9c89a9ced8a50d09572 100644 (file)
@@ -715,9 +715,6 @@ static void TIFFGetProperties(TIFF *tiff,Image *image,ExceptionInfo *exception)
     length,
     type;
 
-  unsigned long
-    *tietz;
-
   if ((TIFFGetField(tiff,TIFFTAG_ARTIST,&text) == 1) &&
       (text != (char *) NULL))
     (void) SetImageProperty(image,"tiff:artist",text,exception);
@@ -792,12 +789,6 @@ static void TIFFGetProperties(TIFF *tiff,Image *image,ExceptionInfo *exception)
       default:
         break;
     }
-  if ((TIFFGetField(tiff,37706,&length,&tietz) == 1) &&
-      (tietz != (unsigned long *) NULL))
-    {
-      (void) FormatLocaleString(message,MagickPathExtent,"%lu",tietz[0]);
-      (void) SetImageProperty(image,"tiff:tietz_offset",message,exception);
-    }
 }
 
 static void TIFFGetEXIFProperties(TIFF *tiff,Image *image,