From: Cristy Date: Thu, 14 Sep 2017 10:51:03 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-3~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56c3c88d0097ad89946f2c60e1b9a6905bcfcd1a;p=imagemagick ... --- diff --git a/coders/gray.c b/coders/gray.c index 5fdf79da3..9b43b7850 100644 --- a/coders/gray.c +++ b/coders/gray.c @@ -233,8 +233,7 @@ static Image *ReadGRAYImage(const ImageInfo *image_info, image->columns,1,exception); q=QueueAuthenticPixels(image,0,y-image->extract_info.y,image->columns, 1,exception); - if ((p == (const Quantum *) NULL) || - (q == (Quantum *) NULL)) + if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) break; for (x=0; x < (ssize_t) image->columns; x++) {