Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2019-11007.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-11007.patch of Package ImageMagick6
Index: ImageMagick-6.8.8-1/coders/png.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/png.c 2019-04-15 16:13:13.392015129 +0200 +++ ImageMagick-6.8.8-1/coders/png.c 2019-04-15 16:13:43.572171305 +0200 @@ -3564,7 +3564,8 @@ static Image *ReadOnePNGImage(MngInfo *m { png_destroy_read_struct(&ping,&ping_info,&end_info); pixel_info=RelinquishVirtualMemory(pixel_info); - image->colors=2; + if (AcquireImageColormap(image,2) == MagickFalse) + ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); (void) SetImageBackgroundColor(image); #ifdef PNG_SETJMP_NOT_THREAD_SAFE UnlockSemaphoreInfo(ping_semaphore);
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
.