author | Tomas Klacko <tomas.klacko@oracle.com> |
Mon, 23 Jun 2014 13:36:30 -0700 | |
changeset 1965 | 374a90784fdd |
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;