[Pkg-net-snmp-devel] Bug#673197: segfaults if no /etc/mtab

Marc Haber mh+debian-bugs at zugschlus.de
Wed May 16 20:33:07 UTC 2012


Package: snmpd
Version: 5.4.3~dfsg-2.4
Severity: normal

Hi,

installing snmpd in a test chroot. syslog entries:
May 16 20:27:31 salida snmpd[10279]: /etc/snmp/snmpd.conf: line 101: Error: Can't open /etc/mtab (setmntent)#012
May 16 20:27:31 salida kernel: snmpd[10279]: segfault at 0 ip 00007fcaf8338799 sp 00007fff8dcd7ee0 error 4 in libnetsnmpmibs.so.15.1.2[7fcaf82e2000+13c000]

Segfaulting on non-existing files is bad bad bad. ;-)

Greetings
Marc


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.6-zgsrv20080 (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





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