[Bug 243121] net/mtr: updte 0.93 broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 6 00:00:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243121

            Bug ID: 243121
           Summary: net/mtr: updte 0.93 broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: kib at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

It seems that the update forgot to fill sa_len in the struct sockaddr.

The result is
solo% mtr freefall.freebsd.org                                                ~
Error decoding localhost address
mtr: Failure to start mtr-packet: Invalid argument

The 'error' part comes from mtr-packet, which does the following

 62130 mtr-packet CALL  socket(PF_INET,0x2<SOCK_DGRAM>,IPPROTO_UDP)
 62130 mtr-packet RET   socket 8
 62130 mtr-packet CALL  connect(0x8,0x7fffffffb550,0x4)
 62130 mtr-packet STRU  struct sockaddr { AF_INET, invalid }
 62130 mtr-packet RET   connect -1 errno 22 Invalid argument
 62130 mtr-packet CALL  close(0x8)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list