Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2017-15017.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-15017.patch of Package ImageMagick6
--- a/coders/png.c +++ b/coders/png.c @@ -5525,6 +5525,10 @@ static Image *ReadOneMNGImage(MngInfo* mng_info, const ImageInfo *image_info, mng_info->global_plte=(png_colorp) AcquireQuantumMemory(256, sizeof(*mng_info->global_plte)); + if (mng_info->global_plte == (png_colorp) NULL) + ThrowReaderException(ResourceLimitError, + "MemoryAllocationFailed"); + for (i=0; i < (ssize_t) (length/3); i++) { mng_info->global_plte[i].red=p[3*i];
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
.