]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: missing allocation failure checks loading tls key file
authorEmeric Brun <ebrun@haproxy.com>
Thu, 10 Jan 2019 09:51:13 +0000 (10:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 18:32:45 +0000 (19:32 +0100)
commit09852f70e0ed0f23cf9287b1ce55bb6a60112f32
treefb5072900de1dee7ac0d02b513dde6299a374a2a
parented697e4856e5ac0b9931fd50fd8ff1b7739e5d88
BUG/MEDIUM: ssl: missing allocation failure checks loading tls key file

This patch fixes missing allocation checks loading tls key file
and avoid memory leak in some error cases.

This patch should be backport on branches 1.9 and 1.8
src/ssl_sock.c