]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux_pt: Make sure we don't have a conn_stream before freeing.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 17 Oct 2019 16:02:53 +0000 (18:02 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 17 Oct 2019 16:02:57 +0000 (18:02 +0200)
commite8826ded5fea3593d89da2be5c2d81c522070995
tree6715469749d32b1b8bc716858fa82d5a0c1309aa
parent2068ec4f89af0bb1f8540ddd162e3c762ccebd89
BUG/MEDIUM: mux_pt: Make sure we don't have a conn_stream before freeing.

On error, make sure we don't have a conn_stream before freeing the connection
and the associated mux context. Otherwise a stream will still reference
the connection, and attempt to use it.
If we still have a conn_stream, it will properly be free'd when the detach
method is called, anyway.

This should be backported to 2.0 and 1.9.
src/mux_pt.c