Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
ImageMagick.16892
ImageMagick-CVE-2019-7175.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-7175.patch of Package ImageMagick.16892
diff --git a/coders/pcd.c b/coders/pcd.c index 8eb8ac6526..7e48c138c6 100644 --- a/coders/pcd.c +++ b/coders/pcd.c @@ -204,6 +204,8 @@ static MagickBooleanType DecodeImage(Image *image,unsigned char *luma, if (pcd_table[i] == (PCDTable *) NULL) { buffer=(unsigned char *) RelinquishMagickMemory(buffer); + for (j=0; j < i; j++) + pcd_table[j]=(PCDTable *) RelinquishMagickMemory(pcd_table[j]); ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed", image->filename); } @@ -215,6 +217,8 @@ static MagickBooleanType DecodeImage(Image *image,unsigned char *luma, if (r->length > 16) { buffer=(unsigned char *) RelinquishMagickMemory(buffer); + for (j=0; j <= i; j++) + pcd_table[j]=(PCDTable *) RelinquishMagickMemory(pcd_table[j]); return(MagickFalse); } PCDGetBits(16);
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