From: Cristy Date: Thu, 7 Dec 2017 00:16:01 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-15~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=122606caaea3ab2f4798572e816b07c3fd530da3;p=imagemagick ... --- diff --git a/coders/dcm.c b/coders/dcm.c index 18ba1b6cd..94e8e6a8b 100644 --- a/coders/dcm.c +++ b/coders/dcm.c @@ -3289,7 +3289,6 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) sequence=MagickTrue; continue; } - if ((unsigned int) ((group << 16) | element) == 0xFFFEE0DD) { if (data != (unsigned char *) NULL) @@ -3297,14 +3296,12 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) sequence=MagickFalse; continue; } - if (sequence != MagickFalse) { if (data != (unsigned char *) NULL) data=(unsigned char *) RelinquishMagickMemory(data); continue; } - switch (group) { case 0x0002: