Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2018-11251.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2018-11251.patch of Package ImageMagick6
Index: ImageMagick-6.8.8-1/coders/sun.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/sun.c 2018-05-23 14:54:14.277630461 +0200 +++ ImageMagick-6.8.8-1/coders/sun.c 2018-05-23 14:54:32.737886856 +0200 @@ -371,6 +371,8 @@ static Image *ReadSUNImage(const ImageIn image->colors=one << sun_info.depth; if (sun_info.maptype == RMT_EQUAL_RGB) image->colors=sun_info.maplength/3; + if (image->colors == 0) + ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if (AcquireImageColormap(image,image->colors) == MagickFalse) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.