Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is the ciritical code:
if (AcquireImageColormap(image,image->colors,exception) == MagickFalse) //line 649 ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); //forget to free pixel_info
It can be solved by this:
if (AcquireImageColormap(image,image->colors,exception) == MagickFalse) { pixel_info=RelinquishVirtualMemory(pixel_info); ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); }
Credit: ADLab of venustech
The text was updated successfully, but these errors were encountered:
https://github.com/ImageMagick/ImageMagick/issues/759
8fa3c10
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
Sorry, something went wrong.
9bad9cd
This was assigned CVE-2017-15217.
No branches or pull requests
Here is the ciritical code:
It can be solved by this:
Credit: ADLab of venustech
The text was updated successfully, but these errors were encountered: