From: SourceForge.net <no...@so...> - 2007-07-13 09:27:53
|
Patches item #1753328, was opened at 2007-07-13 09:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1753328&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Yadong Wu (ydwoo0722) Assigned to: Nobody/Anonymous (nobody) Summary: netsnmp_linux_interface_get_if_speed corrupt stack Initial Comment: I use net-snmp-5.4 on linux-2.6.16 with sk98lin driver. If link of some interface is off, snmpd will core dump periodically. After investigation, I find that netsnmp_linux_interface_get_if_speed will cause stack corrupt. If link is off, speed returned by ETHTOOL_GSET will be 0(not 10 100 1000). And then it will call ioctl with 0x8947. Because sk98lin does not support mii, it will call ioctl again with SIOCDEVPRIVATE. SIOCDEVPRIVATE in sk98lin is SK_IOCTL_GETMIB, and cause stack corrupt. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1753328&group_id=12694 |