]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] stream_sock: don't dereference a non-existing frontend
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Jun 2010 18:46:13 +0000 (20:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:53:18 +0000 (10:53 +0200)
commit7999ddbc953cf40c5f0213e29847a3bd40620b65
treeb88d8a90c9342ddde444c711574ca65e78c8bde2
parent1d315eaa248abd05959beb43b3f9321d81610f4f
[MINOR] stream_sock: don't dereference a non-existing frontend

The stream_sock accept() can be used without any frontend. Check
everywhere if it exists before dereferencing it in the error path.
src/stream_sock.c