Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
ImageMagick.17345
ImageMagick-CVE-2020-27755.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27755.patch of Package ImageMagick.17345
Index: ImageMagick-6.8.8-1/magick/image.c =================================================================== --- ImageMagick-6.8.8-1.orig/magick/image.c 2020-12-08 18:21:14.680495963 +0100 +++ ImageMagick-6.8.8-1/magick/image.c 2020-12-08 18:23:50.817550877 +0100 @@ -2451,6 +2451,18 @@ MagickExport MagickBooleanType SetImageE return(MagickFalse); image->columns=columns; image->rows=rows; + if (image->depth == 0) + { + image->depth=8; + (void) ThrowMagickException(&image->exception,GetMagickModule(), + ImageError,"ImageDepthNotSupported","`%s'",image->filename); + } + if (image->depth > (8*sizeof(MagickSizeType))) + { + image->depth=8*sizeof(MagickSizeType); + (void) ThrowMagickException(&image->exception,GetMagickModule(), + ImageError,"ImageDepthNotSupported","`%s'",image->filename); + } return(SyncImagePixelCache(image,&image->exception)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor