Your message dated Fri, 28 Dec 2007 19:52:22 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#429162: fixed in net-snmp 5.2.3-7etch1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libsnmp-perl
Version: 5.2.3-7
Severity: important
Tags: patch

bulkwalk is completely broken when used in asynchronous mode. The version in
sarge (5.1.2-6.2) works fine, and bulkwalk() returns:

$VAR1 = [
          bless( [
                   bless( [
                            '.1.3.6.1.2.1.1.3',
                            '0',
                            '68110026',
                            'TICKS'
                          ], 'SNMP::Varbind' )
                 ], 'SNMP::VarList' ),
          bless( [
                   bless( [
                            '.1.3.6.1.2.1.2.1',
                            '0',
                            '6',
                            'INTEGER32'
                          ], 'SNMP::Varbind' )
                 ], 'SNMP::VarList' ),
[...]

However, the version in etch (5.2.3-7) returns:

$VAR1 = [
          bless( {
                   'UseLongNames' => 2,
                   'UseEnums' => 0,
                   'UseNumeric' => 1,
                   'BestGuess' => 0,
                   'SessPtr' => bless( do{\(my $o = 136870504)},
                   'SnmpSessionPtr' ),
                   'LocalPort' => 0,
                   'ErrorStr' => '',
                   'UseSprintValue' => 0,
                   'Community' => 'elided',
                   'ErrorNum' => 0,
                   'RetryNoSuch' => 0,
                   'UseEnum' => 0,
                   'Retries' => -1,
                   'RemotePort' => 161,
                   'Version' => '2c',
                   'ErrorInd' => 0,
                   'DestHost' => 'localhost:161',
                   'Timeout' => -1
                 }, 'SNMP::Session' ),
          2,
          16,
          bless( [
                   bless( [
                            'sysUpTime'
                          ], 'SNMP::Varbind' ),
                   bless( [
                            'ifNumber'
                          ], 'SNMP::Varbind' ),
                   bless( [
                            'ifSpeed'
                          ], 'SNMP::Varbind' ),
                   bless( [
                            'ifDescr'
                          ], 'SNMP::Varbind' )
                 ], 'SNMP::VarList' )
        ];

This is apparently because SNMP.xs isn't modifying the Perl stack pointer
correctly, which makes sense because bulkwalk() in the second case is
returning a value suspiciously similar to its arguments.

This upstream bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=1533078&group_id=12694&atid=112694

contains a patch (192507: perlpatch) that makes bulkwalk() work correctly in
asynchronous mode. This also seems to affect 5.3.1-6, currently in unstable.

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

Versions of packages libsnmp-perl depends on:
ii  libsnmp9                5.2.3-7   NET SNMP (Simple Network Managemen
ii  perl                    5.8.8-7   Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8. 5.8.8-7   The Pathologically Eclectic Rubbis

libsnmp-perl recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: net-snmp
Source-Version: 5.2.3-7etch1

We believe that the bug you reported is fixed in the latest version of
net-snmp, which is due to be installed in the Debian FTP archive:

libsnmp-base_5.2.3-7etch1_all.deb
  to pool/main/n/net-snmp/libsnmp-base_5.2.3-7etch1_all.deb
libsnmp-perl_5.2.3-7etch1_i386.deb
  to pool/main/n/net-snmp/libsnmp-perl_5.2.3-7etch1_i386.deb
libsnmp9-dev_5.2.3-7etch1_i386.deb
  to pool/main/n/net-snmp/libsnmp9-dev_5.2.3-7etch1_i386.deb
libsnmp9_5.2.3-7etch1_i386.deb
  to pool/main/n/net-snmp/libsnmp9_5.2.3-7etch1_i386.deb
net-snmp_5.2.3-7etch1.diff.gz
  to pool/main/n/net-snmp/net-snmp_5.2.3-7etch1.diff.gz
net-snmp_5.2.3-7etch1.dsc
  to pool/main/n/net-snmp/net-snmp_5.2.3-7etch1.dsc
snmp_5.2.3-7etch1_i386.deb
  to pool/main/n/net-snmp/snmp_5.2.3-7etch1_i386.deb
snmpd_5.2.3-7etch1_i386.deb
  to pool/main/n/net-snmp/snmpd_5.2.3-7etch1_i386.deb
tkmib_5.2.3-7etch1_all.deb
  to pool/main/n/net-snmp/tkmib_5.2.3-7etch1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Noah Meyerhans <[EMAIL PROTECTED]> (supplier of updated net-snmp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 22 Dec 2007 11:54:41 -0500
Source: net-snmp
Binary: libsnmp9 tkmib snmp libsnmp-perl libsnmp-base libsnmp9-dev snmpd
Architecture: source all i386
Version: 5.2.3-7etch1
Distribution: stable
Urgency: low
Maintainer: Net-SNMP Packaging Team <[EMAIL PROTECTED]>
Changed-By: Noah Meyerhans <[EMAIL PROTECTED]>
Description: 
 libsnmp-base - NET SNMP (Simple Network Management Protocol) MIBs and Docs
 libsnmp-perl - NET SNMP (Simple Network Management Protocol) Perl5 Support
 libsnmp9   - NET SNMP (Simple Network Management Protocol) Library
 libsnmp9-dev - NET SNMP (Simple Network Management Protocol) Development Files
 snmp       - NET SNMP (Simple Network Management Protocol) Apps
 snmpd      - NET SNMP (Simple Network Management Protocol) Agents
 tkmib      - NET SNMP (Simple Network Management Protocol) MIB Browser
Closes: 429162
Changes: 
 net-snmp (5.2.3-7etch1) stable; urgency=low
 .
   * Include upstream's fix for libsnmp-perl's synchronous mode snmpbulkwalk
     functionality.  (Closes: Bug#429162)
Files: 
 6816662e8415e6426e67cfaeab085142 1038 net optional net-snmp_5.2.3-7etch1.dsc
 18dbfeb356281cc1ab4a1fa00af7ebfe 90123 net optional 
net-snmp_5.2.3-7etch1.diff.gz
 b22614fa9659d56274819480bdc6eee4 1200622 libs optional 
libsnmp-base_5.2.3-7etch1_all.deb
 e787acca47f97d9e79d57d1a56af7c46 855104 net optional tkmib_5.2.3-7etch1_all.deb
 ad58968594ba0944f8b0c82250c02986 834090 net optional 
snmpd_5.2.3-7etch1_i386.deb
 193baedfaf994721e76c1077536c8e93 924800 net optional snmp_5.2.3-7etch1_i386.deb
 dc8fbe35521b8392a34324d1aa54bdc1 1837450 libs optional 
libsnmp9_5.2.3-7etch1_i386.deb
 587197065ef9218b3d7a8fa87b744ef7 1416764 libdevel optional 
libsnmp9-dev_5.2.3-7etch1_i386.deb
 dc21cba06aa32a9777a73529753ce2fe 917238 perl optional 
libsnmp-perl_5.2.3-7etch1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHbV6cYrVLjBFATsMRAuRCAJ4iF4cIA7dP6hRsnsd0yaD6dJPpUwCeO1Gd
INW5agp57747GgvS4zYP4pQ=
=rcTI
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to