Re: Call for testing: OpenSSH 6.8

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 27 Feb 2015 11:19:22 -0700, "Todd C. Miller" wrote:

> What OS is this?  ISTR that getpeername() or getsockname() on some
> systems may not support AF_UNIX.

This is probably due to getpeername().  We can probably change:

        /* Unix domain sockets don't have a port number. */
        if (from.ss_family == AF_UNIX)
                return 0;

To:

        /* Non-inet sockets don't have a port number. */
        if (from.ss_family != AF_INET && from.ss_family != AF_INET6)
                return 0;

 - todd
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux