commit | 7059ebc095a563536095028dd9889e5aaba6c2c6 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Dec 08 15:51:04 2021 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Dec 08 15:52:59 2021 +0100 |
tree | 5f527ab224516d444d8e265b358a072c14485b97 | |
parent | a842ca1fcab63405c4894c8973fef6885af3edb2 [diff] |
MINOR: h3: fix possible invalid dereference on htx parsing The htx variable is only initialized if we have received a HTTP/3 HEADERS frame. Else it must not be dereferenced. This should fix the compilation on CI with gcc. src/h3.c: In function ‘h3_decode_qcs’: src/h3.c:224:14: error: ‘htx’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 224 | htx->flags |= HTX_FL_EOM