]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: qmux: Close connection on invalid frame
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 28 May 2026 20:01:01 +0000 (22:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 1 Jun 2026 06:59:02 +0000 (08:59 +0200)
commitbda42604c0c27c5b8b8b26bd69c470014b04506e
treebd09cda416c9e63ba0a2cee34d921263e20b4bdd
parent41a20c1738110123ea9c543162357d55e81ded69
BUG/MEDIUM: qmux: Close connection on invalid frame

In qcc_qmux_recv(), when calling qmux_parse_frm(), also treat negative
values as an error, and close the connexion. qmux_parse_frm() will
return -1 if the frame is of an invalid type, and we don't want to
process any further, or we will crash.
src/qcm_qmux.c