]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: fix possible integer wrap around in cubic window calculation
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 31 Jan 2024 17:21:34 +0000 (18:21 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 7 Feb 2024 07:44:31 +0000 (08:44 +0100)
commit19a66b290e8e6d1a9bda081038189ebbeac0b37b
tree87713fd0f2dc827744be59546a8dfccae9fca740
parent88d13caa38ccac255b29ae56a37e23280bc459dd
BUG/MINOR: quic: fix possible integer wrap around in cubic window calculation

Avoid loss of precision when computing K cubic value.
Same issue when computing the congestion window value from cubic increase function
formula with possible integer varaiable wrap around.

Depends on this commit:

MINOR: quic: Code clarifications for QUIC CUBIC (RFC 9438)

Must be backported as far as 2.6.
src/quic_cc_cubic.c