Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
rpm-python
rpm-filelist-bufferoverflow.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpm-filelist-bufferoverflow.diff of Package rpm-python
--- build/files.c +++ build/files.c @@ -2053,7 +2053,8 @@ static int processPackageFiles(Spec spec, Package pkg, continue; fileName = NULL; /*@-nullpass@*/ /* LCL: buf is NULL ?!? */ - strcpy(buf, s); + strncpy(buf, s, sizeof(buf)-1); + buf[sizeof(buf)-1] = '\0'; /*@=nullpass@*/ /* Reset for a new line in %files */
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