]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: fix crash on CC if mux not present
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 10:06:15 +0000 (11:06 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 10:08:17 +0000 (11:08 +0100)
commit4af6595d41f99dd9fdbe33ce52350a557f22dc34
treecdee7b5da8ea4ee007a2c2b83055d7fd15a56b0f
parent8524f0f779858cf53ee621635e28edfbcae7c0ba
BUG/MEDIUM: quic: fix crash on CC if mux not present

If a CONNECTION_CLOSE is received during handshake or after mux release,
a segfault happens due to invalid dereferencement of qc->qcc. Check
mux_state first to prevent this.
src/xprt_quic.c