diff options
author | millert@openbsd.org <millert@openbsd.org> | 2015-03-01 16:44:40 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-02 18:45:01 +0100 |
commit | 39e2f1229562e1195169905607bc12290d21f021 (patch) | |
tree | 55573799b3fa7afc981f085ad84135af47782bdf /msg.h | |
parent | portability fixes for regress/netcat.c (diff) | |
download | openssh-39e2f1229562e1195169905607bc12290d21f021.tar.xz openssh-39e2f1229562e1195169905607bc12290d21f021.zip |
upstream commit
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@
Diffstat (limited to 'msg.h')
0 files changed, 0 insertions, 0 deletions