From bb016b66c4f12facaddce1be9aae14bc08776e3f Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 23 Apr 2026 17:51:03 +0200 Subject: [PATCH] BUG/MINOR: xprt_qstrm: ensure all local TPs are allocated Complete initialization of xprt_qstrm layer by setting local parameters to zero. This should prevent to emit random values to the peer. No backport needed. --- src/xprt_qstrm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xprt_qstrm.c b/src/xprt_qstrm.c index c2b330fda..658325225 100644 --- a/src/xprt_qstrm.c +++ b/src/xprt_qstrm.c @@ -272,6 +272,7 @@ static int xprt_qstrm_init(struct connection *conn, void **xprt_ctx) ctx->txbuf = BUF_NULL; memset(&ctx->rparams, 0, sizeof(struct quic_transport_params)); + memset(&ctx->lparams, 0, sizeof(struct quic_transport_params)); /* TP configuration advertised by us */ ctx->lparams.max_idle_timeout = 30;