Dag-Erling Smørgrav 3954b52f28 In fetch_resolve(), if the port number or service name is included in
the host argument (e.g. "www.freebsd.org:443"), the service pointer,
which is supposed to point to the port or service part, instead points
to the separator, causing getaddrinfo() to fail.

Note that I have not been able to trigger this bug with fetch(1), nor
do I believe it is possible, as libfetch always parses the host:port
specification itself.  I discovered it when I copied fetch_resolve()
into an unrelated project.

MFC after:	3 days
2017-08-18 18:20:36 +00:00
..
2017-02-28 23:42:47 +00:00
2017-08-02 09:00:59 +00:00
MFH
2016-04-04 23:55:32 +00:00
2017-07-24 18:10:42 +00:00
2016-11-11 23:28:07 +00:00
2016-11-20 06:10:12 +00:00
2017-05-23 09:29:05 +00:00
MFH
2016-04-13 16:19:50 +00:00
2017-02-14 13:35:59 +00:00
2017-08-03 18:07:01 +00:00
2017-02-28 23:42:47 +00:00
2017-07-10 14:59:21 +00:00