]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: fix potential NULL pointer dereference in _h3_trace_header()
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 12 Aug 2026 13:27:46 +0000 (15:27 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 12 Aug 2026 13:51:40 +0000 (15:51 +0200)
commit10ae6c2c75dd1e52c9ddf972a7b5d98a5242dab2
treed2f7d29239259e3cb7b914b35db90a71e82f5692
parent93599eca13e8f66041af06b64f6443d3be3e9ac4
BUG/MINOR: h3: fix potential NULL pointer dereference in _h3_trace_header()

This bug can be triggered only when the h3 traces are enabled.

It has been reported by coverity in GH #3469 where qcc was checked for NULL
earlier in _h3_trace_header(), then dereferenced without a check via qcc->conn
during the next TRACE_PRINTF_LOC() call.

This bug was introduced by this commit:

    BUG/MINOR: h3: adjust HTTP headers traces

and should be backported with it, if needed.
src/h3.c