]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Check malloc return code
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Thu, 6 Oct 2016 08:35:29 +0000 (10:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Oct 2016 17:13:12 +0000 (19:13 +0200)
commit7a3bd3b9dc43509bb1869389dcf91e35c0155f9b
tree5903129bffe96761e29cab2becadd7d339b8784d
parentd44ea3f77cee3c7edc5f7bfb065326dc031d5ed6
BUG/MINOR: ssl: Check malloc return code

If malloc() can't allocate memory and return NULL, a segfaut will raises.

This patch should be backported in the 1.6 and 1.5 version.
src/ssl_sock.c