Corinna Vinschen 2f61f65601 Cygwin: bindresvport: check correctness of address family
Assuming the address parameter is non-NULL, the test in
cygwin_bindresvport_sa only tests if the address family is
supported at all, which is insufficient.

Check if the incoming address family matches the socket
address family and for being AF_INET in cygwin_bindresvport
since the latter doesn't support any other family.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-02-05 21:00:15 +01:00
..
2018-02-02 15:32:28 +01:00
2016-11-24 16:09:31 +01:00
2013-04-30 23:43:08 +00:00
2012-11-23 13:22:47 +00:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2014-04-26 17:38:22 +00:00
2016-06-24 23:32:39 +02:00
2015-03-03 12:58:34 +00:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2013-04-23 09:44:36 +00:00
2016-06-23 21:30:15 +02:00
2016-06-24 23:32:39 +02:00
2017-03-27 22:03:58 +01:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00
2017-04-24 17:14:03 +02:00
2017-04-24 17:14:03 +02:00