Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
cadaver
cadaver-0.23.2-strncat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cadaver-0.23.2-strncat.patch of Package cadaver
--- src/edit.c +++ src/edit.c @@ -138,7 +138,7 @@ * so the editor can have a stab at the content-type. */ pnt = strrchr(real_remote, '.'); if (pnt != NULL && strchr(pnt, '/') == NULL) { - strncat(fname, pnt, PATH_MAX); + strncat(fname, pnt, PATH_MAX-strlen(fname)-1); fname[PATH_MAX-1] = '\0'; }
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