Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
ImageMagick.16891
ImageMagick-CVE-2017-12983.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-12983.patch of Package ImageMagick.16891
--- a/coders/sfw.c +++ b/coders/sfw.c @@ -253,8 +253,8 @@ static Image *ReadSFWImage(const ImageInfo *image_info,ExceptionInfo *exception) */ if (GetBlobSize(image) != (size_t) GetBlobSize(image)) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); - buffer=(unsigned char *) AcquireQuantumMemory((size_t) GetBlobSize(image), - sizeof(*buffer)); + buffer=(unsigned char *) AcquireQuantumMemory((size_t) GetBlobSize(image)+ + MaxTextExtent,sizeof(*buffer)); if (buffer == (unsigned char *) NULL) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); count=ReadBlob(image,(size_t) GetBlobSize(image),buffer);
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