]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Avoid cc priv buffer overflow.
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 24 Jul 2024 09:07:19 +0000 (11:07 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 24 Jul 2024 09:07:19 +0000 (11:07 +0200)
commit735e4aecfcf34ec46c3143bfad9a123466fd8296
tree7ff6a385cbf872b7204e341bc7bc1d77a1df942c
parente902db2609baf7584b518228294ca141c7e3930c
MINOR: quic: Avoid cc priv buffer overflow.

Add two initcall callback with BUG_ON_HOT() to newro and cubic modules to
ensure there is no buffer overflow when accessing the private data of
these congestion control algorithm state structures. This is to ensure
that further modifications about these data structures will not
lead to surprises. At this time there is no possible buffer overflow.
src/quic_cc_cubic.c
src/quic_cc_newreno.c