commit | bcdc6cc15b86dc89de4ca55244a2152386f1d1f1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 20 19:14:47 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 20 19:58:38 2023 +0100 |
tree | 2866a1af95d6f1be56754d859a37160a52eb6b09 | |
parent | a45e7e81ec54fd0562d8ab4776b4c05584d6d180 [diff] |
BUG/MEDIUM: mux-h2: do not try to free an unallocated h2s->sd In h2s_close() we may dereference h2s->sd to get the sc, but this function may be called on allocation error paths, so we must check for this specific condition. Let's also update the comment to make it explicitly permitted. This needs to be backported to 2.6.