From de36ed76cf95bc7a68ff6e4ae4deff450ade81ac Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 20 May 2019 21:12:09 -0400 Subject: [PATCH] ... --- coders/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0