Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
GraphicsMagick.8689
GraphicsMagick-CVE-2017-14505.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GraphicsMagick-CVE-2017-14505.patch of Package GraphicsMagick.8689
Index: GraphicsMagick-1.3.25/magick/draw.c =================================================================== --- GraphicsMagick-1.3.25.orig/magick/draw.c 2018-02-28 15:09:33.557389973 +0100 +++ GraphicsMagick-1.3.25/magick/draw.c 2018-02-28 15:10:30.766505585 +0100 @@ -4810,12 +4810,15 @@ MagickExport double *DrawGetStrokeDashAr if (n != 0) { dasharray = MagickAllocateArray(double *, n+1, sizeof(double)); - p = CurrentContext->dash_pattern; - q = dasharray; - i = n; - while( i-- ) - *q++ = *p++; - *q=0.0; + if (dasharray != (double*)NULL) + { + p = CurrentContext->dash_pattern; + q = dasharray; + i = n; + while( i-- ) + *q++ = *p++; + *q=0.0; + } } return dasharray; }
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