commit | 5bcfd33063a460ed6efafa840e354e383d4252c0 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Fri Mar 04 15:44:21 2022 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Mar 04 17:47:32 2022 +0100 |
tree | 2de4a5cb8af8fd7c9ec04e6118800a5bc55a3866 | |
parent | 4fe7d8a5b28f98b8225fa858ba83d328edc1123d [diff] |
BUG/MAJOR: quic: Wrong quic_max_available_room() returned value Around limits for QUIC integer encoding, this functions could return wrong values which lead to qc_build_frms() to prepare wrong CRYPTO (less chances) or STREAM frames (more chances). qc_do_build_pkt() could build wrong packets with bad CRYPTO/STREAM frames which could not be decoded by the peer. In such a case ngtcp2 closes the connection with an ENCRYPTION_ERROR error in a transport CONNECTION_CLOSE frame.