]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: fix segfault on CC if mux uninitialized
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 3 Mar 2022 17:04:24 +0000 (18:04 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 3 Mar 2022 17:09:37 +0000 (18:09 +0100)
commit2d0f873cd8011edd819d3192c9fc3723f732b85e
treed8467665b73ac075cda03b3f33956d044cd627ba
parentc48c8b8701b9f05dc67633d3a4e2335e0d17c2a4
BUG/MINOR: quic: fix segfault on CC if mux uninitialized

A segfault happens when receiving a CONNECTION_CLOSE during handshake.
This is because the mux is not initialized at this stage but the
transport layer dereferences it.

Fix this by ensuring that the MUX is initialized before. Thanks to Willy
for his help on this one. Welcome in the QUIC-men team !
src/xprt_quic.c