From: Cristy Date: Tue, 19 Feb 2019 00:28:24 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=131 X-Git-Tag: 7.0.8-29~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7921e3f13b72e9e49a1dff434c256466a08205d4;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=131 --- diff --git a/coders/tiff.c b/coders/tiff.c index 4a7d87204..6f37a1e4a 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -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,