Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29977
ImageMagick-CVE-2017-9501.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-9501.patch of Package ImageMagick.29977
Index: ImageMagick-6.8.8-1/magick/image.c =================================================================== --- ImageMagick-6.8.8-1.orig/magick/image.c 2017-06-30 18:21:06.494563833 +0200 +++ ImageMagick-6.8.8-1/magick/image.c 2017-06-30 18:22:59.536598458 +0200 @@ -821,9 +821,12 @@ MagickExport Image *CloneImage(const Ima clone_image->colors=image->colors; length=(size_t) image->colors; clone_image->colormap=(PixelPacket *) AcquireQuantumMemory(length, - sizeof(*clone_image->colormap)); + sizeof(*clone_image->colormap)+1); if (clone_image->colormap == (PixelPacket *) NULL) + { + clone_image=(Image *) RelinquishMagickMemory(clone_image); ThrowImageException(ResourceLimitError,"MemoryAllocationFailed"); + } (void) CopyMagickMemory(clone_image->colormap,image->colormap,length* sizeof(*clone_image->colormap)); }
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