author | Tomas Klacko <tomas.klacko@oracle.com> |
Fri, 15 Aug 2014 01:56:37 -0700 | |
branch | s11-update |
changeset 3265 | bd7839afa948 |
permissions | -rw-r--r-- |
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;