]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener: Fix a possible null pointer dereference
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Sep 2019 08:01:26 +0000 (10:01 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Sep 2019 08:29:54 +0000 (10:29 +0200)
commitad6c2eac28ed96ec8e8c90bd5ce68794ea6bf000
treea46cb2e2c82f830ca30ca6a53a5e93d0713be97d
parent6c00eba63bc9a5f4009b88deb49692dc036b85e3
BUG/MINOR: listener: Fix a possible null pointer dereference

It seems to be possible to have no frontend for a listener. A test was missing
before dereferencing it at the end of the function listener_accept().

This patch fixes the issue #264. It must be backported to 2.0 and 1.9.
src/listener.c