]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Wrong datagram buffer passed to quic_lstnr_dgram_dispatch()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 2 Feb 2022 08:44:22 +0000 (09:44 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 2 Feb 2022 17:24:21 +0000 (18:24 +0100)
commitf6f7520b9b994544a29ad0a35aa58319b26c3fec
tree80bdb384665ac205b7b701225cf805fe716637b7
parent841bf5e7f4666982e672d8ed9df33dba59d52891
MINOR: quic: Wrong datagram buffer passed to quic_lstnr_dgram_dispatch()

The same datagram could be passed to quic_lstnr_dgram_dispatch() before
being consumed by qc_lstnr_pkt_rcv() leading to a wrong decryption for the packet
number decryption, then a decryption error for the data. This was due to
a wrong datagram buffer passed to quic_lstnr_dgram_dispatch(). The datagram data
which must be passed to quic_lstnr_dgram_dispatch() are the same as the one
passed to recvfrom().
src/quic_sock.c