]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Missing SSL session object freeing
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 4 Jun 2025 09:49:14 +0000 (11:49 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 6 Jun 2025 15:53:13 +0000 (17:53 +0200)
commit6b746330692380f7e88fc757b7124b5a9c88ebd8
treec49953da01461b611a235a56ccff9fbafb3fb2b7
parent0cdf5297202137338e7c6f0290f57b857df887c0
BUG/MINOR: quic: Missing SSL session object freeing

qc_alloc_ssl_sock_ctx() allocates an SSL_CTX object for each connection. It also
allocates an SSL object. When this function failed, it freed only the SSL_CTX object.
The correct way to free both of them is to call qc_free_ssl_sock_ctx().

Must be backported as far as 2.6.
src/quic_ssl.c