20393612 silence debug info "Reallocating sreaddir buffer from 14 entries to 28 entries"
CVE-2014-2310
http://sourceforge.net/p/net-snmp/code/ci/eb816330a1887798d844d2fd5dc6482002123cbd
--- a/agent/mibgroup/agentx/protocol.c
+++ b/agent/mibgroup/agentx/protocol.c
@@ -1771,11 +1771,11 @@ agentx_parse(netsnmp_session * session, netsnmp_pdu *pdu, u_char * data,
(u_char *) end_oid_buf,
end_oid_buf_len);
}
+ oid_buf_len = MAX_OID_LEN;
+ end_oid_buf_len = MAX_OID_LEN;
}
DEBUGINDENTLESS();
- oid_buf_len = MAX_OID_LEN;
- end_oid_buf_len = MAX_OID_LEN;
break;