6674902 a lot of superfluous calls to clock_gettime if timed events is not used
6867692 libevent version needs to be updated to 1.4
--- net-snmp-5.4.1/agent/mibgroup/ucd-snmp/proxy.c Tue Oct 17 09:16:29 2006
+++ patch/net-snmp-5.4.1/agent/mibgroup/ucd-snmp/proxy.c Tue Sep 29 07:36:48 2009
@@ -408,6 +408,8 @@
/*
* too large
*/
+ if (pdu)
+ snmp_free_pdu(pdu);
snmp_log(LOG_ERR,
"proxy oid request length is too long\n");
return SNMP_ERR_NOERROR;
@@ -437,6 +439,8 @@
*/
if (!proxy_fill_in_session(handler, reqinfo, (void **)&configured)) {
netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_GENERR);
+ if (pdu)
+ snmp_free_pdu(pdu);
return SNMP_ERR_NOERROR;
}
@@ -451,6 +455,8 @@
/* Free any special parameters generated on the session */
proxy_free_filled_in_session_args(sp->sess, (void **)&configured);
+ if (pdu)
+ snmp_free_pdu(pdu);
return SNMP_ERR_NOERROR;
}