]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: h2: fix aggregated cookie length computation in HTX mode
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 10:00:41 +0000 (11:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 10:03:11 +0000 (11:03 +0100)
commit164e0610669af0a2646a0b816f60f96753e6f5dd
tree51d0922242c160652f9ec558488a9f98416e9f3d
parentcef5c8e2aa826a5556cd90e44453ed08277c0fb4
BUG/MEDIUM: h2: fix aggregated cookie length computation in HTX mode

Cyril Bonté reported a bug in the way the cookie length is computed
when aggregating multiple cookies : the first cookie name was counted
as part of the value length, causing random contents to be placed there,
possibly leading to bad requests.

No backport is needed.
src/h2.c