]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Sat, 20 Apr 2019 16:28:08 +0000 (12:28 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Sat, 20 Apr 2019 16:28:08 +0000 (12:28 -0400)
coders/xwd.c

index b5f09e0907923c769f0ae033a1e2df69984d2b49..32c8a223d50f5943cbfa0844eecd66e200563421 100644 (file)
@@ -240,11 +240,6 @@ static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)
     ThrowReaderException(CorruptImageError,"ImproperImageHeader");
   if (header.xoffset >= header.pixmap_width)
     ThrowReaderException(CorruptImageError,"ImproperImageHeader");
-  if (((header.pixmap_depth | header.pixmap_format | header.xoffset | 
-        header.pixmap_width | header.pixmap_height | header.bitmap_pad | 
-        header.bytes_per_line | header.byte_order | header.bitmap_unit | 
-        header.bitmap_bit_order | header.bits_per_pixel) >> 31) != 0)
-    ThrowReaderException(CorruptImageError,"ImproperImageHeader");
   switch (header.visual_class)
   {
     case StaticGray: