]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: fix trace crash on datagram receive
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 May 2026 09:12:08 +0000 (11:12 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 May 2026 09:18:35 +0000 (11:18 +0200)
commita0a510f0d2f3d1aebfa241d61ef340b6bc36c8c8
treef23cfc47d02ec66f928988b4226a961c42eb0282
parent71267bc6a504fa7cfabf265c4eff9a9e4eb431ed
BUG/MINOR: quic: fix trace crash on datagram receive

Recently, datagram reception architecture has been completely reworked
to improve performance. A regression has been introduced when using
traces in qc_rcv_buf() : datagram argument is uninitialized after recv
syscall. This may cause a crash as CIDs buffer is dereferenced.

Fix this by removing dgram argument from the affected trace. A new trace
is added after quic_dgram_init() to keep the ability to display the
received content.

This issue has caused failure of all QUIC interop testing.

No need to backport.
src/quic_sock.c