BUG/MEDIUM: ssl: fix bad ssl context init can cause segfault in case of OOM.
authorEmeric Brun <ebrun@haproxy.comw>
Wed, 12 Nov 2014 16:35:37 +0000 (17:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 12:44:12 +0000 (13:44 +0100)
commit5547615cdac377797ae351a2e024376dbf6d6963
tree401e5a15aa6d927df833feea09196ee2c7b31d26
parent3785311e64792787de78370fa126fd806734f7fe
BUG/MEDIUM: ssl: fix bad ssl context init can cause segfault in case of OOM.

Some SSL context's init functions errors were not handled and
can cause a segfault due to an incomplete SSL context
initialization.

This fix must be backported to 1.5.
src/ssl_sock.c