]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1551
authorCristy <mikayla-grace@urban-warrior.org>
Fri, 19 Apr 2019 00:07:18 +0000 (20:07 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Fri, 19 Apr 2019 00:07:18 +0000 (20:07 -0400)
coders/dpx.c

index f6aa4b38d36fd76a10753fe3609595d561538ef1..d9daeb042f518380853134732004820ba7ad3b6a 100644 (file)
@@ -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;