From: cristy Date: Thu, 16 Jan 2014 01:28:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2853 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0eec7524321f1be1bfe568a13ab7d4d0333c814;p=imagemagick --- diff --git a/coders/png.c b/coders/png.c index 3bd5751e4..a00e4a322 100644 --- a/coders/png.c +++ b/coders/png.c @@ -4718,6 +4718,7 @@ static Image *ReadOneJNGImage(MngInfo *mng_info, (void) LogMagickEvent(CoderEvent,GetMagickModule(), " Reading jng_image from color_blob."); + assert(color_image_info != (ImageInfo *) NULL); (void) FormatLocaleString(color_image_info->filename,MaxTextExtent,"%s", color_image->filename);