]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: prevent overflow when parsing SETTINGS
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 May 2022 14:30:11 +0000 (16:30 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commit160507d0ba8d75392f631dc0ef0eecdf40c26719
tree4b62f49eb180abd52663bc483a17d9786bf6c194
parent081479df92566e7429b7ed03b7c95504e85a2a10
BUG/MINOR: h3: prevent overflow when parsing SETTINGS

h3_parse_settings_frm() read one byte after the frame payload. Fix the
parsing code. In most cases, this has no impact as we are inside an
allocated buffer but it could cause a segfault depending on the buffer
alignment.
src/h3.c