Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
apcupsd
apcupsd-largebuf-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apcupsd-largebuf-overflow.patch of Package apcupsd
--- src/reports.c +++ src/reports.c @@ -107,8 +107,7 @@ avsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); - strncat(largebuf, buf, sizeof(largebuf)); - largebuf[sizeof(largebuf) - 1] = 0; + strncat(largebuf, buf, sizeof(largebuf)-strlen(largebuf)-1); stat_recs++; }
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