]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: qpack: abort on dynamic index field line decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jun 2022 07:31:24 +0000 (09:31 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jun 2022 09:51:06 +0000 (11:51 +0200)
commit46e992d795f0de3a25850f4af120cb7b6e637449
tree0aabff19ecf2fa4d5f9d29bb1bdb49e540e135a6
parent2bc47863ecee9b713c0b7712ae416dde6abcbe6a
BUG/MINOR: qpack: abort on dynamic index field line decoding

This is a complement to partial fix from commit
  debaa04f9e249f6bf75d40f38b34cfdcd7fc2047
  BUG/MINOR: qpack: abort on dynamic index field line decoding

The main objective is to fix coverity report about usage of
uninitialized variable when receiving dynamic table references. These
references are invalid as for the moment haproxy advertizes a 0-sized
dynamic table. An ABORT_NOW clause is present to catch this. A following
patch will clean up this in order to properly handle QPACK errors with
CONNECTION_CLOSE.

This should fix github issue #1753.

No need to backport as this was introduced in the current dev branch.
src/qpack-dec.c