Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
ImageMagick
ImageMagick-CVE-2017-13134.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-13134.patch of Package ImageMagick
--- a/coders/sfw.c +++ b/coders/sfw.c @@ -127,16 +127,15 @@ static unsigned char *SFWScan(unsigned char *p,const unsigned char *q, register ssize_t i; - if ((p+length) < q) - while (p < q) - { - for (i=0; i < (ssize_t) length; i++) - if (p[i] != target[i]) - break; - if (i == (ssize_t) length) - return((unsigned char *) p); - p++; - } + while ((p+length) < q) + { + for (i=0; i < (ssize_t) length; i++) + if (p[i] != target[i]) + break; + if (i == (ssize_t) length) + return((unsigned char *) p); + p++; + } return((unsigned char *) NULL); }
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