]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: returns when SSL_CTX_new failed during init
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 22 Oct 2025 15:56:45 +0000 (17:56 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Oct 2025 09:36:56 +0000 (10:36 +0100)
commit83e3cbc262a6992246dcc53e3e2e565842c85aa2
tree12879b61774aa54d5b41b15cf9c894b7a0da3a84
parent2f621aa52e4278e30f340a25e2e0f9071a84de18
BUG/MINOR: ssl: returns when SSL_CTX_new failed during init

In ssl_sock_initial_ctx(), returns when SSL_CTX_new() failed instead of
trying to apply anything on the ctx. This may avoid crashing when
there's not enough memory anymore during configuration parsing.

Could be backported in every haproxy versions
src/ssl_sock.c