]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/551
authorCristy <urban-warrior@imagemagick.org>
Sun, 9 Jul 2017 12:10:10 +0000 (08:10 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 9 Jul 2017 12:10:10 +0000 (08:10 -0400)
coders/dcm.c

index 08d497f002be8a4a5d13e25e4ab139ae335d16f8..55377c4f9cc1ffe20f14809c6e04d8d7e21531c2 100644 (file)
@@ -3270,7 +3270,7 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception)
           if ((quantum != 0) && (length != 0))
             {
               if (length > GetBlobSize(image))
-                ThrowReaderException(CorruptImageError,
+                ThrowDCMException(CorruptImageError,
                   "InsufficientImageDataInFile");
               if (~length >= 1)
                 data=(unsigned char *) AcquireQuantumMemory(length+1,quantum*