https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217723
Bug ID: 217723 Summary: [patch] libfetch parses IPv6 addresses incorrectly Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: d...@freebsd.org Keywords: patch Created attachment 180744 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180744&action=edit Rewrite host parser fetch_resolve() in lib/libfetch/common.c uses strchr() to split the host argument into host name and service name or port number. Obviously, this fails for IPv6 addresses. Rewrite the code to handle IP literals (bracketed addresses) correctly and remove similar and now redundant code from fetch.c. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"