]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix another null-deref warning in ssl_sock_switchctx_cbk()
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 11:20:07 +0000 (13:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 11:24:43 +0000 (13:24 +0200)
commita8825520b785d592467c45e183ad8213cb7bf891
tree3ef27929ff35aaca7021250ad0115ac8887ecb87
parentb729077710b14c75936909409e27a4fa0badcb54
BUILD: ssl: fix another null-deref warning in ssl_sock_switchctx_cbk()

This null-deref cannot happen either as there necesarily is a listener
where this function is called. Let's use __objt_listener() to address
this.

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