mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-14 20:10:32 -04:00
BUG/MINOR: h3: Missing wait event struct field initialization
This one has been detected by valgrind: ==2179331== Conditional jump or move depends on uninitialised value(s) ==2179331== at 0x1B6EDE: qcs_notify_recv (mux_quic.c:201) ==2179331== by 0x1A17C5: qc_handle_uni_strm_frm (xprt_quic.c:2254) ==2179331== by 0x1A1982: qc_handle_strm_frm (xprt_quic.c:2286) ==2179331== by 0x1A2CDB: qc_parse_pkt_frms (xprt_quic.c:2550) ==2179331== by 0x1A6068: qc_treat_rx_pkts (xprt_quic.c:3463) ==2179331== by 0x1A6C3D: quic_conn_app_io_cb (xprt_quic.c:3589) ==2179331== by 0x3AA566: run_tasks_from_lists (task.c:580) ==2179331== by 0x3AB197: process_runnable_tasks (task.c:883) ==2179331== by 0x357E56: run_poll_loop (haproxy.c:2750) ==2179331== by 0x358366: run_thread_poll_loop (haproxy.c:2921) ==2179331== by 0x3598D2: main (haproxy.c:3538) ==2179331==
This commit is contained in:
parent
b823bb7f7f
commit
000162e1d6
1 changed files with 1 additions and 0 deletions
1
src/h3.c
1
src/h3.c
|
|
@ -834,6 +834,7 @@ static int h3_uqs_init(struct h3_uqs *h3_uqs, struct h3 *h3,
|
|||
|
||||
h3_uqs->wait_event.tasklet->process = t;
|
||||
h3_uqs->wait_event.tasklet->context = h3_uqs;
|
||||
h3_uqs->wait_event.events = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue