From b0f519ccfb2aa883ffccd16bd5b21596b4b65990 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 29 Mar 2018 22:56:00 +0200 Subject: [PATCH] Added extra break. --- coders/tiff.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.40.0