CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2015/03/01 08:44:40
Modified files: usr.bin/ssh : canohost.c Log message: Make sure we only call getnameinfo() for AF_INET or AF_INET6 sockets. getpeername() of a Unix domain socket may return without error on some systems without actually setting ss_family so getnameinfo() was getting called with ss_family set to AF_UNSPEC. OK djm@