]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: Don't try to release undefined conn_stream when a check is freed
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Jan 2018 10:36:35 +0000 (11:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 12:51:23 +0000 (13:51 +0100)
commit23d86d157edd6da8d3fe40d7883a3d2beeed3189
treeb345025e5078d6f2b52e59cb15bf152e5d7e679e
parent8d01fd6b3caf7fd97a21aa24bb946b12484ce1a3
BUG/MEDIUM: checks: Don't try to release undefined conn_stream when a check is freed

When a healt-check is released, the attached conn_stream may be undefined. For
instance, this happens when 'no-check' option is used on a server line. So we
must check it is defined before trying to release it.

This patch must be backported in 1.8.
src/checks.c