diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-01-07 23:51:41 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-01-07 23:51:41 +0000 |
commit | c4f2c365c9e2791fc74b817c70f98dc2846e5cbd (patch) | |
tree | 08f533859e3ba8e260b03630fd02138405478d98 /contrib/gcclibs/libcpp/files.c | |
parent | 624cda0839e8304fdd1091289e62b9caab51b889 (diff) | |
download | FreeBSD-src-c4f2c365c9e2791fc74b817c70f98dc2846e5cbd.zip FreeBSD-src-c4f2c365c9e2791fc74b817c70f98dc2846e5cbd.tar.gz |
MFC r260257:
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.
Diffstat (limited to 'contrib/gcclibs/libcpp/files.c')
0 files changed, 0 insertions, 0 deletions