From a81085aac2d3437995336d9aa269acba06178408 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 2 Jul 2017 20:52:16 -0400 Subject: [PATCH] ... --- coders/dpx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coders/dpx.c b/coders/dpx.c index 0d5694972..aebaddaad 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -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) -- 2.40.0