From: Frédéric Lécaille Date: Wed, 14 Jun 2023 09:34:47 +0000 (+0200) Subject: BUG/MINOR: quic: Missing initialization (packet number space probing) X-Git-Tag: v2.9-dev1~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d66896036a9da0333a73f062bda0eea1374dc4da;p=thirdparty%2Fhaproxy.git BUG/MINOR: quic: Missing initialization (packet number space probing) ->tx.pto_probe member of quic_pktns struct was not initialized by quic_pktns_init(). This bug never occured because all quic_pktns structs are attached to quic_conn structs which are always pool_zalloc()'ed. Must be backported as far as 2.6. --- diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h index ba2df6434b..60deeadf50 100644 --- a/include/haproxy/quic_conn.h +++ b/include/haproxy/quic_conn.h @@ -413,6 +413,7 @@ static inline void quic_pktns_init(struct quic_pktns *pktns) pktns->tx.pkts = EB_ROOT_UNIQUE; pktns->tx.time_of_last_eliciting = 0; pktns->tx.loss_time = TICK_ETERNITY; + pktns->tx.pto_probe = 0; pktns->tx.in_flight = 0; pktns->tx.ack_delay = 0;