Commit 2ed44fc0 authored by Cristy's avatar Cristy
parent 3ded6a55
......@@ -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 <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-39, GIT revision 15489:6120f8bc1:20190406
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment