commit | 4801c70bead696bed077fd71a55f6ff35bb6f9f5 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Fri Oct 04 17:36:55 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Oct 16 10:22:47 2019 +0200 |
tree | 56866718b1a1ecaf11361536a012e15418324180 | |
parent | e92c030dfcb298daa7175a789a2fdea42a4784c5 [diff] |
BUG/MINOR: ssl: abort on sni_keytypes allocation failure The ssl_sock_populate_sni_keytypes_hplr() function does not return an error upon an allocation failure. The process would probably crash during the configuration parsing if the allocation fail since it tries to copy some data in the allocated memory. This patch could be backported as far as 1.5. (cherry picked from commit 28a8fce485a94b636f6905134509c1150690b60f) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>