From: Cristy Date: Tue, 21 May 2019 01:12:09 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-47~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de36ed76cf95bc7a68ff6e4ae4deff450ade81ac;p=imagemagick ... --- diff --git a/coders/tiff.c b/coders/tiff.c index 391b2de14..094a95a0e 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1388,7 +1388,7 @@ RestoreMSCWarning TIFFClose(tiff); ThrowReaderException(CorruptImageError,"ImproperImageHeader"); } - if (((sample_format != SAMPLEFORMAT_IEEEFP) || (bits_per_sample == 64)) && + if (((sample_format != SAMPLEFORMAT_IEEEFP) || (bits_per_sample != 64)) && ((bits_per_sample <= 0) || (bits_per_sample > 32))) { TIFFClose(tiff);