Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
cfengine
cfengine-2.2.8-overflow.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cfengine-2.2.8-overflow.diff of Package cfengine
--- src/cf.defs.h +++ src/cf.defs.h @@ -462,7 +462,7 @@ #define CF_PERSISTENCE 30 #define LDT_BUFSIZE 10 #define CF_GRAINS 64 -#define ATTR 11 +#define ATTR 20 #define CF_NETATTR 7 /* icmp udp dns tcpsyn tcpfin tcpack */ #define PH_LIMIT 10 #define CF_WEEK (7.0*24.0*3600.0) --- src/instrument.c +++ src/instrument.c @@ -547,7 +547,7 @@ tthen = (time_t)then; - snprintf(datebuf,CF_BUFSIZE-1,"%s",ctime(&tthen)); + snprintf(datebuf,sizeof(datebuf),"%s",ctime(&tthen)); datebuf[strlen(datebuf)-9] = '\0'; /* Chop off second and year */ snprintf(addr,15,"%s",hostname+1);
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