]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: check conn in keylog sample fetch
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 7 Jul 2020 08:48:13 +0000 (10:48 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 7 Jul 2020 08:48:13 +0000 (10:48 +0200)
commiteec1d45f9dd352c230ba043d840ca4c39149f357
treeb85f6c7f7b951bbb9d97c3f5bc3d0f871310f11d
parentd742b6caf79d3f38e29d3c68a47d2288435b2cad
BUG/MINOR: ssl: check conn in keylog sample fetch

Add a check on the conn pointer to avoid a NULL dereference in
smp_fetch_ssl_x_keylog().

The problem is not suppose to happen because the function is only used
for the frontend at the moment.

Introduced by 7d42ef5, 2.2 only.

Fix issue #733.
src/ssl_sample.c