freebsd-skq/lib/libfetch
des 984a1974b4 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
..
common.c In fetch_resolve(), if the port number or service name is included in 2017-08-18 18:20:36 +00:00
common.h Add a __printflike() that would have caught the bug fixed in r314396. 2017-03-12 11:54:35 +00:00
fetch.3 Fix bunch of .Xrs. 2016-03-28 16:48:28 +00:00
fetch.c r308996 broke IP literals by assuming that a colon could only occur as 2017-03-17 14:18:52 +00:00
fetch.h Add a file descriptor in struct url for netrc 2017-02-20 00:14:31 +00:00
file.c Call closedir() before returning from fetchListFile() to avoid a leak. 2016-05-25 07:43:32 +00:00
ftp.c Refactor fetch_connect() and fetch_bind() to improve readability and avoid 2016-11-22 13:30:07 +00:00
ftp.errors
http.c r308996 broke IP literals by assuming that a colon could only occur as 2017-03-17 14:18:52 +00:00
http.errors
Makefile
Makefile.depend