Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
ImageMagick.12053
ImageMagick-CVE-2017-14505.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-14505.patch of Package ImageMagick.12053
--- a/wand/drawing-wand.c +++ b/wand/drawing-wand.c @@ -1882,11 +1882,14 @@ WandExport double *DrawGetStrokeDashArray(const DrawingWand *wand, { dasharray=(double *) AcquireQuantumMemory((size_t) n+1UL, sizeof(*dasharray)); - p=CurrentContext->dash_pattern; - q=dasharray; - for (i=0; i < (ssize_t) n; i++) - *q++=(*p++); - *q=0.0; + if (dasharray != (double *) NULL) + { + p=CurrentContext->dash_pattern; + q=dasharray; + for (i=0; i < (ssize_t) n; 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