diff options
author | hrs <hrs@FreeBSD.org> | 2015-09-20 22:27:19 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-09-20 22:27:19 +0000 |
commit | 50371a834c64ba35aa19873f2ebb19b88b52f11d (patch) | |
tree | cbe45a1efa9eb8284f9c981d87cc744fe618822f /contrib/gcclibs/libcpp | |
parent | a6ebf8c5c05b8c9b8d8beb3a5868dc82a5691832 (diff) | |
download | FreeBSD-src-50371a834c64ba35aa19873f2ebb19b88b52f11d.zip FreeBSD-src-50371a834c64ba35aa19873f2ebb19b88b52f11d.tar.gz |
MFC 281734-281736,287997-287998:
- Fix a crash on a rpc entry when an IPv6 address is explicitly
specified in -a flag.
- Fix a bug that sockaddr_in was used where sockaddr_in6 should have
been used. This was not actually harmful because offsetof(struct
sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6,
sin6_port).
- Remove unused union p_un.
- Use NI_MAXHOST-long buffer for getnameinfo().
Although INET6_ADDRSTRLEN was designed to hold the longest
IPv6 address in IPv4-mapped address format a long time ago,
getnameinfo() can return scope identifier in addition to it.
Diffstat (limited to 'contrib/gcclibs/libcpp')
0 files changed, 0 insertions, 0 deletions