From 63febbace73c712fad31d13a53b24268190bed58 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 10 Apr 2026 10:28:23 +0200 Subject: [PATCH] BUG/MINOR: do not crash on QMux reception of BLOCKED frames Add QUIC BLOCKED frames in the list of supported types in qstrm_parse_frm(). Nothing is really implemented for them as for QUIC, but this prevents a crash when receiving one of them via QMux. No need to backport. --- src/mux_quic_qstrm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mux_quic_qstrm.c b/src/mux_quic_qstrm.c index 1b9dc7629..9a6974a38 100644 --- a/src/mux_quic_qstrm.c +++ b/src/mux_quic_qstrm.c @@ -77,6 +77,12 @@ static int qstrm_parse_frm(struct qcc *qcc, struct buffer *buf) struct qf_max_stream_data *msd_frm = &frm.max_stream_data; qcc_recv_max_stream_data(qcc, msd_frm->id, msd_frm->max_stream_data); } + else if (frm.type == QUIC_FT_DATA_BLOCKED || + frm.type == QUIC_FT_STREAM_DATA_BLOCKED || + frm.type == QUIC_FT_STREAMS_BLOCKED_BIDI || + frm.type == QUIC_FT_STREAMS_BLOCKED_UNI) { + /* TODO */ + } else { ABORT_NOW(); } -- 2.47.3