mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-29 01:31:19 +02:00
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.
This commit is contained in:
parent
4c9a1642c1
commit
6bdf9367fb
@ -229,7 +229,7 @@ static void qc_free_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf)
|
|||||||
*/
|
*/
|
||||||
static void qcs_free(struct qcs *qcs)
|
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);
|
qc_free_ncbuf(qcs, &qcs->rx.ncbuf);
|
||||||
b_free(&qcs->tx.buf);
|
b_free(&qcs->tx.buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user