]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-quic: fix a thinko in the latest cs/endpoint cleanup
authorWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 14:31:23 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 14:34:40 +0000 (16:34 +0200)
commitdf94313e0e9155eddc48f13c1a32855e50699cef
tree6ff6afd2c14b4cf7d2e5637071af4b6eb0dca819
parent973cf9071482c74418340c8b83ac863e0c60504a
BUG/MEDIUM: mux-quic: fix a thinko in the latest cs/endpoint cleanup

Fred & Amaury found that I messed up with qc_detach() in commit 4201ab791
("CLEANUP: muxes: make mux->attach/detach take a conn_stream endpoint"),
causing a segv in this case with endp->cs == NULL being passed to
__cs_mux(). It obviously ought to have been endp->target like in other
muxes.

No backport needed.
src/mux_quic.c