[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-2210522 ] snmpd segfaults on snmpwalk when configured
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2008-11-06 14:02:17
Message-ID: E1Ky5RB-00079y-3u () h45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2210522, was opened at 2008-10-30 22:42
Message generated for change (Comment added) made by jsafranek
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2210522&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: agent
Group: linux
> Status: Closed
> Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Chris Hinds-Tennie (clhtennie)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmpd segfaults on snmpwalk when configured for extend

Initial Comment:
##Net-SNMP Version:
net-snmp-libs-5.4-18.fc7
net-snmp-5.4-18.fc7
net-snmp-utils-5.4-18.fc7

##OS Version:
Linux 2.6.23.12-52.fc7 #1 SMP Tue Dec 18 21:18:02 EST 2007 i686 athlon i386 GNU/Linux

##Distro:
Fedora release 7 (Moonshine)


## How to Reproduce (Explained):
1) Add at least one extend line to snmpd.conf
2) Restart snmpd
3) Perform an snmpwalk somewhere below nsExtendOutLine (anything not matching the OID \
string translation for extend NAME) 4) snmpd segfaults


## How to Reproduce (Example):
# add extend line to snmpd.conf
# Sample snmpd.conf:
rocommunity  t3st  10.0.0.0/24
extend echo /bin/echo test
# a walk that works fine
[root@localhost ~]# snmpwalk -On -v 1 -c 't3st' 10.0.0.1 nsExtendOutLine
.1.3.6.1.4.1.8072.1.3.2.4.1.2.4.101.99.104.111.1 = STRING: test
# a walk given the OID for this extend entry
[root@localhost ~]# snmpwalk -On -v 1 -c 't3st' 10.0.0.1 \
                1.3.6.1.4.1.8072.1.3.2.4.1.2.4.101.99.104.111
.1.3.6.1.4.1.8072.1.3.2.4.1.2.4.101.99.104.111.1 = STRING: test
# a walk NOT for the configured extend entry
#(snmpd segfaults here)
[root@localhost ~]# snmpwalk -On -v 1 -c 't3st' 10.0.0.1 \
                1.3.6.1.4.1.8072.1.3.2.4.1.2.4.101.99.104.10
Timeout: No Response from 10.0.0.1
# repeat initial test, snmpd no longer responds
[root@localhost ~]# snmpwalk -On -v 1 -c 't3st' 10.0.0.1 nsExtendOutLine
Timeout: No Response from 10.0.0.1


## Other Scenarios Where Reproduced:
In addition to the above I've been able to reproduce this on some of the older \
                net-snmp versions and OSs I tested:
* net-snmp 5.4(-15) on Linux 2.4.31-1.8smp (RedHat 8.0)
* net-snmp 5.3(-4.2) on Linux 2.6.18-1.2257.fc5xenU #1 SMP (Fedora 5)
* net-snmp 5.2.1.2 on Linux 2.6.17-1.2142_FC4 (Fedora 4)


GDB output attached

----------------------------------------------------------------------

> Comment By: Jan Safranek (jsafranek)
Date: 2008-11-06 15:02

Message:
This is probably duplicate of bug #1795275. It should be fixed in actual
net-snmp-5.3.2.3 and net-snmp-5.4.2.1 releases. Feel free to reopen this
bug if it is still reproducible with these releases.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2210522&group_id=12694

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic