]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 16 Jan 2014 01:28:43 +0000 (01:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 16 Jan 2014 01:28:43 +0000 (01:28 +0000)
coders/png.c

index 3bd5751e4195b16cb9ca39d2e5264c55cdd6e6cc..a00e4a322d20de1e4a50fed87aba928e987a6a71 100644 (file)
@@ -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);