From: Cristy Date: Fri, 19 Apr 2019 00:07:18 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1551 X-Git-Tag: 7.0.8-41~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c9cb909e1ada2c9d3a78f28642abfcd8bf9254b;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1551 --- diff --git a/coders/dpx.c b/coders/dpx.c index f6aa4b38d..d9daeb042 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -852,8 +852,6 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception) dpx.image.image_element[i].bit_size=(unsigned char) ReadBlobByte(image); offset++; dpx.image.image_element[i].packing=ReadBlobShort(image); - if (dpx.image.image_element[i].packing > 2) - ThrowReaderException(CorruptImageError,"ImproperImageHeader"); offset+=2; dpx.image.image_element[i].encoding=ReadBlobShort(image); offset+=2;