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

            Bug ID: 288958
           Summary: netstat -ia missing multicast addresses on some
                    interfaces
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

"netstat -ia" is missing multicast addresses on some interfaces. These
addresses are shown correctly in "ifmcstat".

The bug is in netstat/if.c function next_ifma(), it does a strcmp() on
sdl->sdl_data but the interface name may not be NULL terminated. This should be
changed to a strncmp() with length sdl->sdl_nlen

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

Reply via email to