From: Dirk Lemstra Date: Thu, 29 Mar 2018 20:56:00 +0000 (+0200) Subject: Added extra break. X-Git-Tag: 7.0.7-29~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0f519ccfb2aa883ffccd16bd5b21596b4b65990;p=imagemagick Added extra break. --- diff --git a/coders/tiff.c b/coders/tiff.c index dde192190..213b700a8 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -567,8 +567,6 @@ static MagickBooleanType DecodeLabImage(Image *image,ExceptionInfo *exception) register ssize_t x; - if (status == MagickFalse) - continue; q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception); if (q == (Quantum *) NULL) { @@ -592,7 +590,10 @@ static MagickBooleanType DecodeLabImage(Image *image,ExceptionInfo *exception) q+=GetPixelChannels(image); } if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse) - status=MagickFalse; + { + status=MagickFalse; + break; + } } image_view=DestroyCacheView(image_view); return(status);