BUG/MEDIUM: mux-quic: fix crash due to invalid trace arg
Traces argument were incorrectly used in qcs_free(). A qcs was specified
as first arg instead of a connection. This will lead to a crash if
developer qmux traces are activated. This is now fixed.
This bug has been introduced with QUIC MUX traces rework. No need to
backport.
diff --git a/src/mux_quic.c b/src/mux_quic.c
index 0e3a54d..196f682 100644
--- a/src/mux_quic.c
+++ b/src/mux_quic.c
@@ -229,7 +229,7 @@
*/
static void qcs_free(struct qcs *qcs)
{
- TRACE_ENTER(QMUX_EV_QCS_END, qcs);
+ TRACE_ENTER(QMUX_EV_QCS_END, qcs->qcc->conn, qcs);
qc_free_ncbuf(qcs, &qcs->rx.ncbuf);
b_free(&qcs->tx.buf);