Skip to content

Commit a33f749

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/551
1 parent 7e55f7e commit a33f749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: coders/dcm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,7 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception)
32703270
if ((quantum != 0) && (length != 0))
32713271
{
32723272
if (length > GetBlobSize(image))
3273-
ThrowReaderException(CorruptImageError,
3273+
ThrowDCMException(CorruptImageError,
32743274
"InsufficientImageDataInFile");
32753275
if (~length >= 1)
32763276
data=(unsigned char *) AcquireQuantumMemory(length+1,quantum*

0 commit comments

Comments
 (0)