]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: quic: Wrong use of <token_odcid> in qc_lsntr_pkt_rcv()
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 11 Aug 2022 16:54:26 +0000 (18:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Aug 2022 17:12:12 +0000 (19:12 +0200)
commit7629f5d6709c539c6c9012949411281144c82f53
tree8cca98a8cc3470f80ba1a7ca2627278220b381ef
parent18d1306abd6578f2d955f67578ff2458795bba95
BUG/MEDIUM: quic: Wrong use of <token_odcid> in qc_lsntr_pkt_rcv()

This commit was not complete:
  "BUG/MEDIUM: quic: Possible use of uninitialized <odcid>
variable in qc_lstnr_params_init()"
<token_odcid> should have been directly passed to qc_lstnr_params_init()
without dereferencing it to prevent haproxy to have new chances to crash!

Must be backported to 2.6.
include/haproxy/quic_tp.h
src/quic_tp.c
src/xprt_quic.c