BUG/MINOR: quic: Possible wrapped values used as ACK tree purging limit.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 12 Apr 2023 18:49:29 +0000 (20:49 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 13 Apr 2023 17:20:08 +0000 (19:20 +0200)
commit9d68c6aaf696c7080ee32beb3e1b07a4c1aa2378
treed818c3f765526e442877dac6c317bdecbf567c59
parent45bf1a82f1655e905a987a27909ba3aca76f660b
BUG/MINOR: quic: Possible wrapped values used as ACK tree purging limit.

Add two missing checks not to substract too big values from another too little
one. In this case the resulted wrapped huge values could be passed to the function
which has to remove the last range of a tree of ACK ranges as encoded limit size
not to go below, cancelling the ACK ranges deletion. The consequence could be that
no ACK were sent.

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