]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: fix possible infinite loop during decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Apr 2025 15:27:24 +0000 (17:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Apr 2025 12:15:02 +0000 (14:15 +0200)
commitfbedb8746f2c525b6be1de5e9634fd7d4d2a8cb3
tree0151e4c08a1cdb12ffd3e5ab5eff247617e3dbf7
parent3dcda87e586d9d99052e55c3d339d3ba12149a11
BUG/MINOR: mux-quic: fix possible infinite loop during decoding

With the support of multiple Rx buffers per QCS instance, stream
decoding in qcc_io_recv() has been reworked for the next haproxy
release. An issue appears in a double while loop : a break statement is
used in the inner loop, which is not sufficient as it should instead
exit from the outer one.

Fix this by replacing break with a goto statement.

No need to backport this.
src/mux_quic.c