On Thu, Mar 18, 2021 at 03:54:48PM +0100, Theo Buehler wrote:
> A malformed URI such as "https://[::1/index.html"; causes a NULL access
> in the hosttail[1] == ":" check.
Good catch. I think your diff makes this code a bit easier to understand.
OK claudio@
> Index: http.c
> ==
A malformed URI such as "https://[::1/index.html"; causes a NULL access
in the hosttail[1] == ":" check.
Index: http.c
===
RCS file: /cvs/src/usr.sbin/rpki-client/http.c,v
retrieving revision 1.6
diff -u -p -r1.6 http.c
--- http.c