From: Cristy Date: Tue, 29 Aug 2017 11:06:32 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/706 X-Git-Tag: 7.0.7-0~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=152e510e2b7858efe5992ed95090d8e0049417f3;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/706 --- diff --git a/MagickCore/identify.c b/MagickCore/identify.c index 2765e7fbd..623e8a8fa 100644 --- a/MagickCore/identify.c +++ b/MagickCore/identify.c @@ -1041,7 +1041,8 @@ MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file, pixel; GetPixelInfo(image,&pixel); - GetPixelInfoPixel(image,p,&pixel); + if (p != (const Quantum *) NULL) + GetPixelInfoPixel(image,p,&pixel); (void) QueryColorname(image,&pixel,SVGCompliance,tuple, exception); (void) FormatLocaleFile(file," Alpha: %s ",tuple);