BUG/MINOR: quic: reject packet with no frame
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Oct 2023 08:42:35 +0000 (10:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Oct 2023 12:15:31 +0000 (14:15 +0200)
commita4c59f5b9e30371e2f95ef7925033537db825e7c
treed1134ef0cf189432ae6bb95e259d5638372915b2
parentf59f8326f9fff7256d2cfddd9472162858cb1450
BUG/MINOR: quic: reject packet with no frame

RFC 9000 indicates that a QUIC packet with no frame must trigger a
connection closure with PROTOCOL_VIOLATION error code. Implement this
via an early return inside qc_parse_pkt_frms().

This should be backported up to 2.6.
src/quic_rx.c