]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mux-h2: erase h2c->wait_event.tasklet on error path
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Mar 2023 18:16:04 +0000 (19:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 Mar 2023 18:58:38 +0000 (19:58 +0100)
commit389ab0d4b4031c1a7f05fe1b4607f31737b5b9b9
tree929294122694312adbdf074d287c5f294095b588
parentbcdc6cc15b86dc89de4ca55244a2152386f1d1f1
BUG/MEDIUM: mux-h2: erase h2c->wait_event.tasklet on error path

On the allocation error path in h2_init() we may check if
h2c->wait_event.tasklet needs to be released but it has not yet been
zeroed. Let's do this before jumping to the freeing location.

This needs to be backported to all maintained versions.
src/mux_h2.c