]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream: do not dereference strm_li(stream)
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2015 10:21:21 +0000 (12:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2015 11:42:08 +0000 (13:42 +0200)
commit2c1068cb67408ead42f4bbfd34c7479cc9d44512
treecb34b781c62e59b40e98d9f65904e179bc12d94c
parentb746329dc37c2b27d0924bc0498ba1d395a68dae
BUG/MEDIUM: stream: do not dereference strm_li(stream)

Some streams do not have a listener (eg: Lua's cosockets) so
let's check for this. For now this problem cannot happen but
it's definitely unsafe.
src/stream.c