Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2020 22:54:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244123] libfetch: memory leak when processing multiple HTTP location response headers
Message-ID:  <bug-244123-227-arp4JmkBgG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244123-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244123-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244123

--- Comment #3 from Hans Christian Woithe <chwoithe@yahoo.com> ---
Duplicate headers can be allowed in certain situations.  I tend to agree th=
at
the location header probably doesn't qualify.

https://tools.ietf.org/html/rfc7230#section-3.2.2

A generic fix would involve a larger change on how headers are processed.  =
Such
a change should detect all duplicate headers that aren't allowed and return=
 an
appropriate error to the user.  That could eliminate the need for the code
under scrutiny.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244123-227-arp4JmkBgG>