]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: Fix a crash if we failed to create the mux
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 10 Sep 2025 10:03:01 +0000 (12:03 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 10 Sep 2025 10:02:53 +0000 (12:02 +0200)
commit07c10ec2f124801b1d58454f13c331c5a0b77b0e
tree7c1e94d643065313ba3c4e92afaae24e3f47746e
parent1759c972550aa3350a333ec35814443f6cf189b7
BUG/MEDIUM: ssl: Fix a crash if we failed to create the mux

In ssl_sock_io_cb(), if we failed to create the mux, we may have
destroyed the connection, so only attempt to access it to get the ALPN
if conn_create_mux() was successful.
This fixes crashes that may happen when using ssl.
src/ssl_sock.c