diff options
author | millert@openbsd.org <millert@openbsd.org> | 2015-03-01 15:44:40 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-03 04:45:01 +1100 |
commit | 39e2f1229562e1195169905607bc12290d21f021 (patch) | |
tree | 55573799b3fa7afc981f085ad84135af47782bdf /regress/broken-pipe.sh | |
parent | e47536ba9692d271b8ad89078abdecf0a1c11707 (diff) |
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 'regress/broken-pipe.sh')
0 files changed, 0 insertions, 0 deletions