]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: qpack: reject invalid increment count decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Feb 2024 15:59:24 +0000 (16:59 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Feb 2024 16:46:19 +0000 (17:46 +0100)
commitbd71212ea9900d1dc7c5aefe62df44c023520a38
treef909a156882671367f754b5d96789854a051b4b3
parentcc29ab437ea6348aa1defcab15a306742a9fd826
BUG/MINOR: qpack: reject invalid increment count decoding

Close the connection using QPACK_DECODER_STREAM_ERROR when receiving an
invalid insert count increment. As haproxy does not use dynamic table,
this instruction must never be emitted by the peer.

Prior to this patch, haproxy silently ignored such instruction which is
not conform to the QUIC specification.

This should be backported up to 2.6. Note that on 2.6 qcc_set_error()
must be replaced by function qcc_emit_cc_app().
src/qpack-dec.c