freebsd-nq/lib/libfetch
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
..
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
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
ftp.c
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