]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Potential NULL deref in trace macro
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 10 Oct 2025 12:16:31 +0000 (14:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Oct 2025 13:44:45 +0000 (15:44 +0200)
commit6f4ca37880757032baee7e6790a1b173f7708b05
tree5a8d6c070c870d549aedab8b41a10a9c7974c3c5
parentd82019d05c318517ed2036399e8284af5f0e6d98
BUG/MINOR: ssl: Potential NULL deref in trace macro

'ctx' might be NULL when we exit 'ssl_sock_handshake', it can't be
dereferenced without check in the trace macro.

This was found by Coverity andraised in GitHub #3113.
This patch should be backported up to 3.2
src/ssl_sock.c