]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Do not drop too small datagrams with Initial packets
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 16 Feb 2023 10:40:11 +0000 (11:40 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Feb 2023 16:36:30 +0000 (17:36 +0100)
commit35218c6357b441142b2af19e31c8991a28b97075
tree996f3d97ce1b4717c451b994540c1e39b03796c2
parent8f7d22406cf35745708171dda8fa712d78a029ca
BUG/MINOR: quic: Do not drop too small datagrams with Initial packets

When receiving an Initial packet a peer must drop it if the datagram is smaller
than 1200. Before this patch, this is the entire datagram which was dropped.

In such a case, drop the packet after having parsed its length.

Must be backported to 2.6 and 2.7
src/quic_conn.c