]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: reject invalid max_udp_payload size
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 6 May 2025 16:01:32 +0000 (18:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 May 2025 13:21:30 +0000 (15:21 +0200)
commit4bc7aa548adcd9ee424c65cd346e94f8749dce64
treeaee9446e31a82116ec04d1d03347aa4fe0c08cb5
parentffabfb0fc3ad8774024d152fc31a7711a8a9c382
BUG/MINOR: quic: reject invalid max_udp_payload size

Add a checks on received max_udp_payload transport parameters. As
defined per RFC 9000, values below 1200 are invalid, and thus the
connection must be closed with TRANSPORT_PARAMETER_ERROR code.

Prior to this patch, an invalid value was silently ignored.

This should be backported up to 2.6. Note that is relies on previous
patch "MINOR: quic: extend return value on TP parsing".
src/quic_tp.c