From: Amaury Denoyelle Date: Wed, 8 Apr 2026 08:32:17 +0000 (+0200) Subject: BUG/MINOR: quic: increment pos pointer on QMux transport params parsing X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c63e6ecd4ba99336260d83d2116fd19ae8112435;p=thirdparty%2Fhaproxy.git BUG/MINOR: quic: increment pos pointer on QMux transport params parsing QUIC frame parsers functions take a pointer as input argument for the data to be parsed. If parsing is successful, must be incremented to point to the next data. Increment was not performed when parsing QMux transport parameters frame. This commit fixes this. Note that for now there is no real issue as xprt_qstrm does not check the QMux frame length. No need to backport. --- diff --git a/src/quic_frame.c b/src/quic_frame.c index edf81f14a..1cb2006fd 100644 --- a/src/quic_frame.c +++ b/src/quic_frame.c @@ -1081,6 +1081,7 @@ static int quic_parse_qmux_transport_parameters(struct quic_frame *frm, struct q if (!quic_transport_params_decode(¶ms_frm->params, 1, *pos, end)) return 0; + *pos += len; return 1; }