Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
squid
squid3-snmp-off-by-one.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squid3-snmp-off-by-one.patch of Package squid
Index: squid-3.3.13/src/snmp_core.cc =================================================================== --- squid-3.3.13.orig/src/snmp_core.cc 2014-12-11 19:16:34.922142358 +0100 +++ squid-3.3.13/src/snmp_core.cc 2014-12-11 19:16:36.694152259 +0100 @@ -375,12 +375,11 @@ len = comm_udp_recvfrom(sock, buf, - SNMP_REQUEST_SIZE, + SNMP_REQUEST_SIZE - 1, 0, from); if (len > 0) { - buf[len] = '\0'; debugs(49, 3, "snmpHandleUdp: FD " << sock << ": received " << len << " bytes from " << from << "."); snmp_rq = (SnmpRequest *)xcalloc(1, sizeof(SnmpRequest));
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