This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000772] New: SNMP lockup on requests for ifTable interfacenumber <= 0
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Mon, 18 May 2009 19:04:25 +0100
- Subject: [Bug 1000772] New: SNMP lockup on requests for ifTable interfacenumber <= 0
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000772
Summary: SNMP lockup on requests for ifTable interface number <=
0
Product: eCos
Version: CVS
Platform: Other (please specify)
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: SNMP
AssignedTo: bartv@ecoscentric.com
ReportedBy: grant.b.edwards@gmail.com
QAContact: ecos-bugs@ecos.sourceware.org
Class: ---
Created an attachment (id=728)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=728)
Patch to fix SNMP lock-up
The FreeBSD SNMP helper cyg_snmp_get_if() exhibits a bug when
passed if_num<=0: it loops 2^32 times -- walking through all of
memory and then returning a rogue pointer.
This can be demonstrated by sending an eCos-based device an SMP
"get" request for OID 1.3.6.1.2.1.2.2.1.6.0. Typical behavior
is that the device will lock up for several seconds ans the
SNMP management thread loops through all of memory.
The problem didn't exist in the helper routine for the NetBSD.
The attached patch fixes the problem.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.