]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: qpack: Missing check for truncated QPACK fields
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 15 Dec 2021 13:16:16 +0000 (14:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Dec 2021 07:38:43 +0000 (08:38 +0100)
commite629cfd96aa7316db30bbe1414a540efa612a854
tree6ac09e69ca83bb7ebcc7781d79bc68116ab7a952
parenta5da31d186a2441c120b54202038168a9f3be34c
MINOR: qpack: Missing check for truncated QPACK fields

Decrementing <len> variable without checking could make haproxy crash (on abort)
when printing a huge buffer (with negative length).
src/qpack-dec.c