Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
GraphicsMagick.8039
GraphicsMagick-CVE-2017-18251.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GraphicsMagick-CVE-2017-18251.patch of Package GraphicsMagick.8039
--- a/coders/pcd.c Sat Sep 30 16:48:42 2017 -0500 +++ b/coders/pcd.c Sat Sep 30 16:53:07 2017 -0500 @@ -621,8 +621,14 @@ chroma2=MagickAllocateMemory(unsigned char *,number_pixels+1); luma=MagickAllocateMemory(unsigned char *,number_pixels+1); if ((chroma1 == (unsigned char *) NULL) || - (chroma2 == (unsigned char *) NULL) || (luma == (unsigned char *) NULL)) - ThrowReaderException(ResourceLimitError,MemoryAllocationFailed,image); + (chroma2 == (unsigned char *) NULL) || + (luma == (unsigned char *) NULL)) + { + MagickFreeMemory(chroma1); + MagickFreeMemory(chroma2); + MagickFreeMemory(luma); + ThrowReaderException(ResourceLimitError,MemoryAllocationFailed,image); + } /* Advance to image data. */
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