it was setting image->gamma, but only setting image->colorspace
for grayscale and gray-alpha images. Reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32418).
+ * Fix improper use of NULL in the JNG decoder (Reference
+ https://github.com/ImageMagick/ImageMagick/issues/632).
2017-07-29 7.0.6-5 Cristy <quetzlzacatenango@image...>
* Off by one error for gradient coder (reference
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32416).
-
+ https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32416),
https://github.com/ImageMagick/ImageMagick/issues/612).
+
2017-07-28 7.0.6-4 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.6-4, GIT revision 20657:4e81160d6:20170728.
{
if (length > GetBlobSize(image))
{
- DestroyJNG(NULL,&color_image,&color_image_info,NULL,NULL);
+ DestroyJNG(NULL,&color_image,&color_image_info,
+ &alpha_image,&alpha_image_info);
ThrowReaderException(CorruptImageError,
"InsufficientImageDataInFile");
}