]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: fix the header length for QPACK decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 14 Feb 2022 13:38:55 +0000 (14:38 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:06:22 +0000 (17:06 +0100)
commit4ac6d3733307965201db7ebbd886ab3492239e88
treeaee11c71c3869e7f9857b417e96d1e1616dc2d79
parent6a2c2f4910f7225a808649dacdd3ec8b3d7f409b
BUG/MINOR: h3: fix the header length for QPACK decoding

Pass the H3 frame length to QPACK decoding instead of the length of the
whole buffer.

Without this fix, if there is multiple H3 frames starting with a
HEADERS, QPACK decoding will be erroneously applied over all of them,
most probably leading to a decoding error.
src/h3.c