]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: trace/quic_frame: use buf, not trace_buf in chunk_frm_appendf()
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2026 09:30:13 +0000 (11:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Jul 2026 14:32:28 +0000 (16:32 +0200)
commit8ac1e3ff5b60298bbf97f18e83fa97941326f825
tree118d8b2746917a0c64ea48c09b0383f1d93200c0
parent19d48c3d34eb1d4c0dca02a0d864b4fea2fc7042
BUG/MINOR: trace/quic_frame: use buf, not trace_buf in chunk_frm_appendf()

The function takes a buffer in argument which is the target buffer. The
first calls properly use it but the subsequent ones, probably due to
reused/moved code, directly write into &trace_buf, thus ignoring the
buf argument. Fortunately all call places pass &trace_buf for buf, so
it currently has no impact but could possibly change.

No backport is needed, but it doesn't hurt to backport it if it helps.
src/quic_frame.c