]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Possible crash when issuing "show fd/sess" CLI commands
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 11 Aug 2023 09:21:31 +0000 (11:21 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 11 Aug 2023 09:21:31 +0000 (11:21 +0200)
commitb0e32c626360f06b6572439374627fef3b2e17e5
tree95bef60c2a4b61acdd5f882fe271a9e9fc3798a2
parent5d602f4f333bbd0ba7c12a40cf4436b301d3fc18
BUG/MINOR: quic: Possible crash when issuing "show fd/sess" CLI commands

->xprt_ctx (struct ssl_sock_ctx) and ->conn (struct connection) must be kept
by the remaining QUIC connection object (struct quic_cc_conn) after having
release the previous one (struct quic_conn) to allow "show fd/sess" commands
to be functional without causing haproxy crashes.

No need to backport.
include/haproxy/quic_conn-t.h
src/quic_conn.c