Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xpp
xpp-1.5-strncpy_fix_size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xpp-1.5-strncpy_fix_size.patch of Package xpp
--- xpp-1.5/xpp.cxx.orig 2008-01-15 16:24:58.000000000 +0100 +++ xpp-1.5/xpp.cxx 2008-01-15 16:28:19.000000000 +0100 @@ -1091,7 +1091,7 @@ printFiles::getSpecialOptions(special_op } else if (opttype == 1) { sprintf(numbuffer,"%.3f",defvalue); } else { - strncpy(numbuffer, defstr, 1023); + strncpy(numbuffer, defstr, 127); } dests[dest_pos].num_options = cupsAddOption(argname,numbuffer,
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