[Bug 244123] libfetch: memory leak when processing multiple HTTP location response headers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 14 17:42:16 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244123
--- Comment #2 from Conrad Meyer <cem at freebsd.org> ---
Your fix looks correct to me.
Technically this is a non-compliant server, right? IIRC, modern HTTP does not
allow duplicate instances of headers. So it would also be valid for libfetch
to just reject the connection when encountering the second Location. No?
This case is only encountered when one HTTP response contains two location
headers and not by, e.g., 302 / Location: foo => 302 / Location: bar => ...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list