From 7921e3f13b72e9e49a1dff434c256466a08205d4 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 18 Feb 2019 19:28:24 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=131 --- coders/tiff.c | 9 --------- 1 file changed, 9 deletions(-) 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, -- 2.40.0