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 critical code : (in MogrifyImageList)
swap=CloneImage(p,0,0,MagickTrue,exception); ReplaceImageInList(&p,CloneImage(q,0,0,MagickTrue,exception)); //8794 ReplaceImageInList(&q,swap);
CloneImage may return NULL (in line 8794),and in ReplaceImageInList:
MagickExport void ReplaceImageInList(Image **images,Image *replace) //1144 { assert(images != (Image **) NULL); assert(replace != (Image *) NULL); //1147
If the "replace" is NULL,it will may cause assertion failure.
The text was updated successfully, but these errors were encountered:
https://github.com/ImageMagick/ImageMagick/issues/802
12f34b6
bb04ccb
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 @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Sorry, something went wrong.
This was assigned CVE-2017-18252.
No branches or pull requests
Here is the critical code : (in MogrifyImageList)
CloneImage may return NULL (in line 8794),and in ReplaceImageInList:
If the "replace" is NULL,it will may cause assertion failure.
The text was updated successfully, but these errors were encountered: