New issue
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
coders/mpc.c colormap potential memory-leak bug #1192
Comments
|
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. |
|
This was assigned CVE-2018-14434. |
|
I suppose it was fixed in v6 ? |
|
Thanks for alerting us. The patch has now been exported to IMv6. |
Prerequisites
Description
a potential memory leak bug locates in coders/miff.c
Steps to Reproduce
the bug locates in
https://github.com/ImageMagick/ImageMagick/blob/master/coders/mpc.c#L1460
the code frament is as follows: the code locates in a if block,and we allocate colormap memory in the if block, we freed it in normal branch,but forgot free it in exception branch
credit: www.vackbot.com ( 墨云科技)
System Configuration
The text was updated successfully, but these errors were encountered: