]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: Don't forget to set h2s->cs to NULL after having free'd cs.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 29 May 2019 14:44:17 +0000 (16:44 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 29 May 2019 14:45:13 +0000 (16:45 +0200)
commit58d87f31f7391d419182d61743bbe82524f8fd5a
tree8cef4694b2cf085c9e8ebc9c2307c1e60f33219b
parent250031e44412e3c6dd74995aba3fec783530eed0
BUG/MEDIUM: h2: Don't forget to set h2s->cs to NULL after having free'd cs.

In h2c_frt_stream_new, if we failed to create the stream for some reason,
don't forget to set h2s->cs to NULL before calling h2s_destroy(), otherwise
h2s_destroy() will call h2s_close(), which will attempt to access
h2s->cs->flags if it's non-NULL.

This should be backported to 1.9.
src/mux_h2.c