summaryrefslogtreecommitdiffstats
path: root/sandbox-null.c
diff options
context:
space:
mode:
authormillert@openbsd.org <millert@openbsd.org>2015-03-01 16:44:40 +0100
committerDamien Miller <djm@mindrot.org>2015-03-02 18:45:01 +0100
commit39e2f1229562e1195169905607bc12290d21f021 (patch)
tree55573799b3fa7afc981f085ad84135af47782bdf /sandbox-null.c
parentportability fixes for regress/netcat.c (diff)
downloadopenssh-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 'sandbox-null.c')
0 files changed, 0 insertions, 0 deletions