]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Missing QUIC connection path member initialization
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 3 Jul 2023 08:40:32 +0000 (10:40 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 3 Jul 2023 08:51:12 +0000 (10:51 +0200)
commit74058745556a59d112914d6cf33f337d8d435cd7
tree1893ca30b8b2cc2898b7a3241842e260a79a65bb
parent0e53cb07a5101969eddf26825a19411917139685
BUG/MINOR: quic: Missing QUIC connection path member initialization

This bug was introduced by this commit:
  MINOR: quic: Remove pool_zalloc() from qc_new_conn().

If ->path is not initialized to NULL value, and if a QUIC connection object
allocation has failed (from qc_new_conn()), haproxy could crash in
quic_conn_prx_cntrs_update() when dereferencing this QUIC connection member.

No backport needed.
src/quic_conn.c