18721173 problem in UTILITY/NET-SNMP s11-update
authorTomas Klacko <tomas.klacko@oracle.com>
Fri, 15 Aug 2014 01:56:37 -0700
branchs11-update
changeset 3265 bd7839afa948
parent 3264 41c0b8d53f7b
child 3266 e00ca9ce4b5f
18721173 problem in UTILITY/NET-SNMP
components/net-snmp/patches/046.18721173.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/net-snmp/patches/046.18721173.patch	Fri Aug 15 01:56:37 2014 -0700
@@ -0,0 +1,20 @@
+CVE-2014-2310
+http://sourceforge.net/p/net-snmp/code/ci/eb816330a1887798d844d2fd5dc6482002123cbd
+
+--- a/agent/mibgroup/agentx/protocol.c
++++ b/agent/mibgroup/agentx/protocol.c
[email protected]@ -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;
+ 
+ 
+