From: Cristy Date: Mon, 11 Sep 2017 16:16:18 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/745 X-Git-Tag: 7.0.7-2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c708c3a6c022e04ea38b229a450023cbf1af93e7;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/745 --- diff --git a/coders/mat.c b/coders/mat.c index d9f150763..efe08943a 100644 --- a/coders/mat.c +++ b/coders/mat.c @@ -632,7 +632,7 @@ static Image *ReadMATImageV4(const ImageInfo *image_info,Image *image, quantum_info=(QuantumInfo *) NULL; (void) SeekBlob(image,0,SEEK_SET); - while (EOFBlob(image) != MagickFalse) + while (EOFBlob(image) == MagickFalse) { /* Object parser loop.