Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-CVE-2018-16640.patch
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2018-16640.patch of Package ImageMagick6
diff --git a/coders/png.c b/coders/png.c index b3ecd890be..d811544e31 100644 --- a/coders/png.c +++ b/coders/png.c @@ -4560,7 +4560,11 @@ static Image *ReadOneJNGImage(MngInfo *mng_info, chunk=(unsigned char *) AcquireQuantumMemory(length,sizeof(*chunk)); if (chunk == (unsigned char *) NULL) - ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); + { + DestroyJNG(NULL,&color_image,&color_image_info, + &alpha_image,&alpha_image_info); + ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); + } for (i=0; i < (ssize_t) length; 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
.