diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-01-04 11:39:59 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-01-04 11:39:59 +0000 |
commit | 47c52965eeacfb141118834c3ccc691a738bddcf (patch) | |
tree | 42662b8fb75b1580ff5d706cc381e0b694353403 /contrib/gcclibs/libcpp/include/cpp-id-data.h | |
parent | 156698294d6c9f33e50301e06ebc1bff39c15230 (diff) | |
download | FreeBSD-src-47c52965eeacfb141118834c3ccc691a738bddcf.zip FreeBSD-src-47c52965eeacfb141118834c3ccc691a738bddcf.tar.gz |
Fix several bugs in sctp_bindx():
* Set errno to EAFNOSUPPORT if an address is provided which is neither
AF_INET nor AF_INET6.
* Don't modify the arguments.
* Don't smash the stack when provided with a non-zero port.
* Handle the case correctly where the first address provided is
an IPv6 address.
MFC after: 3 days
Diffstat (limited to 'contrib/gcclibs/libcpp/include/cpp-id-data.h')
0 files changed, 0 insertions, 0 deletions