]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix null-deref warning in ssl_fc_cipherlist_str sample fetch
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 09:01:59 +0000 (11:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 11:24:43 +0000 (13:24 +0200)
commitb729077710b14c75936909409e27a4fa0badcb54
tree920f37a4a1c54a12467aef9b5eaf435e2197c190
parentf1ffb39b614b0d9654c9450ac6e8c88cfc942784
BUILD: ssl: fix null-deref warning in ssl_fc_cipherlist_str sample fetch

Gcc 6.4 detects a potential null-deref warning in smp_fetch_ssl_fc_cl_str().
This one is not real since already addressed a few lines above. Let's use
__objt_conn() instead of objt_conn() to avoid the extra test that confuses
it.

This could be backported to 1.8.
src/ssl_sock.c