Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
GraphicsMagick.8345
GraphicsMagick-CVE-2016-10070.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GraphicsMagick-CVE-2016-10070.patch of Package GraphicsMagick.8345
Index: GraphicsMagick-1.3.25/coders/mat.c =================================================================== --- GraphicsMagick-1.3.25.orig/coders/mat.c 2016-09-05 21:20:23.000000000 +0200 +++ GraphicsMagick-1.3.25/coders/mat.c 2017-01-27 11:40:34.563540187 +0100 @@ -991,9 +991,10 @@ NoMemory: ThrowMATReaderException(Resour } /* ----- Load raster data ----- */ - BImgBuff = MagickAllocateMemory(unsigned char *,(size_t) (ldblk)); /* Ldblk was set in the check phase */ + BImgBuff = MagickAllocateMemory(unsigned char *,(size_t) (MagickArraySize(ldblk,sizeof(double)))); /* Ldblk was set in the check phase */ if (BImgBuff == NULL) goto NoMemory; + (void) memset(BImgBuff,0,ldblk*sizeof(double)); if (CellType==miDOUBLE) /* Find Min and Max Values for floats */ {
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