]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: muxes: Don't dereference mux context if null in release functions
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Apr 2019 07:33:32 +0000 (09:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Apr 2019 07:47:10 +0000 (09:47 +0200)
commit61840e715f37b71c4b30d68b8b2e79106a3799dc
tree91bc59b8b86f49999e52147a08ab2ac22a02e741
parent78f31bf07aa2291ab8368d5ad54107577b992d50
BUG/MEDIUM: muxes: Don't dereference mux context if null in release functions

When a mux context is released, we must be sure it exists before dereferencing
it. The bug was introduced in the commit 39a96ee16 ("MEDIUM: muxes: Be prepared
to don't own connection during the release").

No need to backport this patch, expect if the commit 39a96ee16 is backported
too.
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c