Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
qiv
qiv-2.1-pre12.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qiv-2.1-pre12.patch of Package qiv
--- utils.c.orig 2007-12-12 15:49:38.000000000 +0100 +++ utils.c 2007-12-12 15:49:53.000000000 +0100 @@ -53,8 +53,8 @@ /* move file to fullpath/TRASH_DIR/filename */ snprintf(trashfile, sizeof trashfile, "%s/%s/%s", path_result, TRASH_DIR, ptr+1); - strncat(path_result, "/", PATH_MAX); - strncat(path_result, ptr + 1, PATH_MAX); + strncat(path_result, "/", PATH_MAX-strlen(path_result)-1); + strncat(path_result, ptr + 1, PATH_MAX-strlen(path_result)-1); *ptr = '/'; }
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