]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Dereferenced unchecked pointer to Handshke packet number space
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 6 Sep 2023 07:15:55 +0000 (09:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Sep 2023 08:13:40 +0000 (10:13 +0200)
commite7240a0ba6e07a9be157f8c9df06a68fc105162f
tree14b3edb1720520a830174aa45c75959a6e909a47
parent700ca14fc1ff14ddc573620940cf0ac7872c7ab0
BUG/MINOR: quic: Dereferenced unchecked pointer to Handshke packet number space

This issue was reported by longrtt interop test with quic-go as client
and @chipitsine in GH #2282 when haproxy is compiled against libressl.

Add two checks to prevent a pointer to the Handshake packet number space
to be dereferenced if this packet number space was released.

Thank you to @chipitsine for this report.

No need to backport.
src/quic_tx.c