]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener: Don't schedule frontend without task in listener_release()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Mar 2024 08:29:09 +0000 (09:29 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Mar 2024 08:34:36 +0000 (09:34 +0100)
commitf31a4e302e2c24409fbf7bd2d30aa221968eb7a6
treedea84081c995b77b72b482d410a18ca6d7d69e2d
parent65ae1347c7d0495c70221dca3fdda20a04d53628
BUG/MINOR: listener: Don't schedule frontend without task in listener_release()

null pointer dereference was reported by Coverity in listener_release()
function. Indeed, we must not try to schedule frontend without task when a
limit is still blocking the frontend. This issue was introduced by commit
65ae1347c7 ("BUG/MINOR: listener: Wake proxy's mngmt task up if necessary on
session release")

This patch should fix issue #2488. It must be backported to all stable
version with the commit above.
src/listener.c