]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux_quic: fix uninit for QMux emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 14:54:27 +0000 (16:54 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 14:58:00 +0000 (16:58 +0200)
commit22b7da1464d1d379baabac007007c37ebb952c20
tree54192718520e27ad0af433b2f2925f7d5a8b8330
parent3636ebd0621d6dd3a86c5a7c9159872dbcbf351c
BUG/MINOR: mux_quic: fix uninit for QMux emission

Fix the following build warning from obsolete compilers for <orig_frm>
variable in qcc_qstrm_send_frames() function :

src/mux_quic_qstrm.c:266:17: warning: 'orig_frm' may be used
  uninitialized in this function [-Wmaybe-uninitialized]

The variable is now explicitely initialized to NULL on each loop, which
should prevent this warning. Note that for code clarity, the variable is
renamed <next_frm>.

No need to backport.
src/mux_quic_qstrm.c