From: Cristy Date: Thu, 18 Apr 2019 10:54:56 +0000 (-0400) Subject: https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=35866 X-Git-Tag: 7.0.8-41~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ed44fc01142a078c2d4b4fd46b1138d779f70ff;p=imagemagick https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=35866 --- diff --git a/ChangeLog b/ChangeLog index 1c66fc41d..d9f81e700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ MagickHoughLineImage(), MagickKuwaharaImage(), MagickLevelizeImageColors(), MagickLevelImageColors(), MagickMeanShiftImage(), MagickPolynomialImage(), MagickRangeThresholdImage(), MagickSetSeed(), MagickWaveletDenoiseImage() - to MagickWand API. + methods to MagickWand API. 2019-04-07 7.0.8-39 Cristy * Release ImageMagick version 7.0.8-39, GIT revision 15489:6120f8bc1:20190406 diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 5a7a29b12..9a451fb5c 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -4057,12 +4057,6 @@ static MagickBooleanType RenderMVGContent(Image *image, beta=bounds.y2-bounds.y1; radius=hypot(alpha,beta); coordinates=2.0*(ceil(MagickPI*radius))+6.0*BezierQuantum+360.0; - if (coordinates > (MaxBezierCoordinates/4)) - { - (void) ThrowMagickException(exception,GetMagickModule(),DrawError, - "TooManyBezierCoordinates","`%s'",token); - status=MagickFalse; - } break; } default: @@ -4071,7 +4065,7 @@ static MagickBooleanType RenderMVGContent(Image *image, if (coordinates > MaxBezierCoordinates) { (void) ThrowMagickException(exception,GetMagickModule(), - ResourceLimitError,"MemoryAllocationFailed","`%s'",token); + ResourceLimitError,"TooManyBezierCoordinates","`%s'",token); status=MagickFalse; } if (status == MagickFalse)