]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 13 Mar 2010 20:09:46 +0000 (20:09 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 13 Mar 2010 20:09:46 +0000 (20:09 +0000)
coders/psd.c

index 679ea72013b9973225cecb170dcd6af531cbc29d..d44e6dc22171cb7050328699d87b7cf219e2ef92 100644 (file)
@@ -684,9 +684,6 @@ static Image *ReadPSDImage(const ImageInfo *image_info,ExceptionInfo *exception)
   if ((psd_info.version == 1) && ((psd_info.rows > 30000) ||
       (psd_info.columns > 30000)))
     ThrowReaderException(CorruptImageError,"ImproperImageHeader");
-  if ((psd_info.version == 1) && ((psd_info.rows > 300000) ||
-      (psd_info.columns > 300000)))
-    ThrowReaderException(CorruptImageError,"ImproperImageHeader");
   psd_info.depth=ReadBlobMSBShort(image);
   if ((psd_info.depth != 1) && (psd_info.depth != 8) && (psd_info.depth != 16))
     ThrowReaderException(CorruptImageError,"ImproperImageHeader");