ports/157571: net-mgmt/p5-SNMP_Session crashes when reporting IPv6 errors (patch included)
Mike Andrews
mandrews at bit0.com
Sat Jun 4 00:50:08 UTC 2011
>Number: 157571
>Category: ports
>Synopsis: net-mgmt/p5-SNMP_Session crashes when reporting IPv6 errors (patch included)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 04 00:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Mike Andrews
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
Fark, Inc
>Environment:
System: FreeBSD beast.int.bit0.com 8.2-STABLE FreeBSD 8.2-STABLE #40: Sat May 28 11:50:25 EDT 2011 mandrews at beast.int.bit0.com:/usr/obj/usr/src/sys/BIT0 amd64
>Description:
SNMP_Session.pm uses inet_ntop when reporting failures on IPv6 hosts, but
that function isn't being imported from Socket6.pm.
>How-To-Repeat:
Configure a v6 host in MRTG that is down, and watch MRTG crash when it tries
to print its error message.
>Fix:
In net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm
change both instances of
Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo));
to
Socket6->import(qw(pack_sockaddr_in6 inet_pton inet_ntop getaddrinfo));
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list