]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Don't release unallocated CS on error path
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Mar 2022 17:45:55 +0000 (18:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:13 +0000 (15:10 +0200)
commit91449b0351d54345420d2fbffb0af0a641417473
tree3804eea2ba1f8d25eb6c809142873071fc64deff
parentf1de1b51cab49f654938524a515cf26ac2db0bf5
BUG/MINOR: mux-h1: Don't release unallocated CS on error path

cs_free() must not be called when we fail to allocate the conn-stream in
h1s_new_cs() function. This bug was introduced by the commit cda94accb
("MAJOR: stream/conn_stream: Move the stream-interface into the
conn-stream").

It is 2.6-specific, no backport is needed.
src/mux_h1.c