]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Mon, 3 Jul 2017 00:52:16 +0000 (20:52 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 3 Jul 2017 00:52:16 +0000 (20:52 -0400)
coders/dpx.c

index 0d569497226636b5bb68287753b84dd80c86cb27..aebaddaaddb6764a9c6c582a62de6264e1c18d9d 100644 (file)
@@ -1107,7 +1107,8 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception)
             *profile;
 
            if (dpx.file.user_size > GetBlobSize(image))
-             ThrowReaderException(CorruptImageError,"ImproperImageHeader");
+             ThrowReaderException(CorruptImageError,
+               "InsufficientImageDataInFile");
            profile=BlobToStringInfo((const unsigned char *) NULL,
              dpx.file.user_size-sizeof(dpx.user.id));
            if (profile == (StringInfo *) NULL)