From: Cristy Date: Thu, 17 Oct 2019 12:52:12 +0000 (-0400) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18305 X-Git-Tag: 7.0.9-0~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=974a84e41b64e6473d8588acd4a35ee0db54b376;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18305 --- diff --git a/coders/tiff.c b/coders/tiff.c index dd0766df9..0c0934c28 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1545,8 +1545,6 @@ RestoreMSCWarning option=GetImageOption(image_info,"tiff:exif-properties"); if (IsStringFalse(option) == MagickFalse) /* enabled by default */ TIFFGetEXIFProperties(tiff,image,exception); - (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL, - &samples_per_pixel); if ((TIFFGetFieldDefaulted(tiff,TIFFTAG_XRESOLUTION,&x_resolution) == 1) && (TIFFGetFieldDefaulted(tiff,TIFFTAG_YRESOLUTION,&y_resolution) == 1)) {