From: Cristy Date: Tue, 13 Mar 2018 01:15:59 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-27~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a73c4ccf4d54d33dbc9897d7b22a2c46d6bb966e;p=imagemagick ... --- diff --git a/MagickCore/property.c b/MagickCore/property.c index 0ad839933..34e37e050 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -3667,9 +3667,10 @@ RestoreMSCWarning OptionWarning,"NoImageForProperty","\"%%[%s]\"",pattern); continue; /* else no image to retrieve artifact */ } + if ((image->columns == 0) || (image->rows == 0)) + break; GetPixelInfo(image,&pixel); fx_info=AcquireFxInfo(image,pattern+4,exception); - value=0.0; status=FxEvaluateChannelExpression(fx_info,RedPixelChannel,0,0, &value,exception); pixel.red=(double) QuantumRange*value;