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.

(cherry picked from commit f31a4e302e2c24409fbf7bd2d30aa221968eb7a6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 3f7af840928d3f61675ccab03879bc537d922a2e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 07838f78f37306d5a3182c2b474d6e2a63c2c23f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ca43613aefdd57d1f346212964d3c0278d92f8bb)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit cf1d0f0901b3375522c4b5dd92784d1f249bf938)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed