[Pkg-net-snmp-devel] Bug#412924: snmp: Please apply patch outlined in sourceforge.net bug #1459665

Peter Hicks peter.hicks at poggs.co.uk
Wed Feb 28 23:24:37 CET 2007


Package: snmp
Version: 5.3.1-2
Severity: normal
Tags: patch

When snmpwalk-ing a Cisco router's CISCO-FLASH-MIB, snmpwalk hangs due to an
invalid DISPLAY-HINT in the MIB file.

This problem has been identified and fixed in CVS, however until 5.4 is
released in Debian, I think it would be beneficial to include the attached
patch to snmplib/mib.c


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-beyond2-angel
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages snmp depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libsnmp10                   5.2.3-7      NET SNMP (Simple Network Managemen

Versions of packages snmp recommends:
ii  perl-modules                  5.8.8-7    Core Perl modules

-- no debconf information
-------------- next part --------------
--- snmplib/mib.c    1 May 2006 05:25:08 -0000    5.89.2.5
+++ snmplib/mib.c   25 Jul 2006 13:44:45 -0000
@@ -488,5 +488,7 @@
                     term = *hint++;
                 else
                     term = 0;
+                if (width == 0)
+                    width = 1;
             }


More information about the Pkg-net-snmp-devel mailing list