public inbox for ecos-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug 1000772] New: SNMP lockup on requests for ifTable interface number <= 0 @ 2009-05-18 18:04 bugzilla-daemon 2009-05-19 20:28 ` [Bug 1000772] " bugzilla-daemon ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: bugzilla-daemon @ 2009-05-18 18:04 UTC (permalink / raw) To: ecos-bugs 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000772] SNMP lockup on requests for ifTable interface number <= 0 2009-05-18 18:04 [Bug 1000772] New: SNMP lockup on requests for ifTable interface number <= 0 bugzilla-daemon @ 2009-05-19 20:28 ` bugzilla-daemon 2009-05-21 15:03 ` bugzilla-daemon 2009-05-21 15:08 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2009-05-19 20:28 UTC (permalink / raw) To: ecos-bugs http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000772 John Dallaway <john@dallaway.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john@dallaway.org.uk --- Comment #1 from John Dallaway <john@dallaway.org.uk> 2009-05-19 21:28:07 --- Grant, you've clearly researched this issue. The patch is small and unlikely to break anything. I'll give others a day or two to comment and then check it in. -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000772] SNMP lockup on requests for ifTable interface number <= 0 2009-05-18 18:04 [Bug 1000772] New: SNMP lockup on requests for ifTable interface number <= 0 bugzilla-daemon 2009-05-19 20:28 ` [Bug 1000772] " bugzilla-daemon @ 2009-05-21 15:03 ` bugzilla-daemon 2009-05-21 15:08 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2009-05-21 15:03 UTC (permalink / raw) To: ecos-bugs http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000772 John Dallaway <john@dallaway.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bartv@ecoscentric.com |jld@ecoscentric.com -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1000772] SNMP lockup on requests for ifTable interface number <= 0 2009-05-18 18:04 [Bug 1000772] New: SNMP lockup on requests for ifTable interface number <= 0 bugzilla-daemon 2009-05-19 20:28 ` [Bug 1000772] " bugzilla-daemon 2009-05-21 15:03 ` bugzilla-daemon @ 2009-05-21 15:08 ` bugzilla-daemon 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon @ 2009-05-21 15:08 UTC (permalink / raw) To: ecos-bugs http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000772 John Dallaway <john@dallaway.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |CURRENTRELEASE --- Comment #2 from John Dallaway <john@dallaway.org.uk> 2009-05-21 16:07:54 --- The patch is now applied and checked-in. Thank you for your contribution. -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-21 15:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-05-18 18:04 [Bug 1000772] New: SNMP lockup on requests for ifTable interface number <= 0 bugzilla-daemon 2009-05-19 20:28 ` [Bug 1000772] " bugzilla-daemon 2009-05-21 15:03 ` bugzilla-daemon 2009-05-21 15:08 ` bugzilla-daemon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).