Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
ImageMagick.30956
ImageMagick-CVE-2017-9405.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-9405.patch of Package ImageMagick.30956
--- a/coders/icon.c +++ b/coders/icon.c @@ -460,8 +460,12 @@ static Image *ReadICONImage(const ImageInfo *image_info, ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); count=ReadBlob(image,(size_t) (4*image->colors),icon_colormap); if (count != (ssize_t) (4*image->colors)) - ThrowReaderException(CorruptImageError, - "InsufficientImageDataInFile"); + { + icon_colormap=(unsigned char *) RelinquishMagickMemory( + icon_colormap); + ThrowReaderException(CorruptImageError, + "InsufficientImageDataInFile"); + } p=icon_colormap; for (i=0; i < (ssize_t) image->colors; i++) {
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