]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: fix build in release mode
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Jan 2022 10:04:05 +0000 (11:04 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Jan 2022 10:15:48 +0000 (11:15 +0100)
commit7c564bfdd3498982b11669adbc4a99dcc04b5900
tree99ca3175dc3a8692e47510f37bb8e6acf4ce1d18
parent33ac346ba8862c15a92eea0f4a087c964c1e8de5
MINOR: ssl: fix build in release mode

Fix potential null pointer dereference. In fact, this case is not
possible, only a mistake in SSL ex-data initialization may cause it :
either connection is set or quic_conn, which allows to retrieve
the bind_conf.

A BUG_ON was already present but this does not cover release build.
src/ssl_sock.c