Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:Maintenance:399
xdelta3.openSUSE_13.1_Update
xdelta3-CVE-2014-9765.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdelta3-CVE-2014-9765.patch of Package xdelta3.openSUSE_13.1_Update
https://github.com/jmacd/xdelta/commit/969e65d3a5d70442f5bafd726bcef47a0b48edd8 --- xdelta3-main.h +++ xdelta3-main.h @@ -2810,14 +2810,15 @@ main_get_appheader (xd3_stream *stream, main_file *ifile, if (appheadsz > 0) { + const int kMaxArgs = 4; char *start = (char*)apphead; char *slash; int place = 0; - char *parsed[4]; + char *parsed[kMaxArgs]; memset (parsed, 0, sizeof (parsed)); - while ((slash = strchr (start, '/')) != NULL) + while ((slash = strchr (start, '/')) != NULL && place < (kMaxArgs-1)) { *slash = 0; parsed[place++] = start;
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