]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Possible crash in quic_conn_prx_cntrs_update()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 14 Jun 2023 16:09:54 +0000 (18:09 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Wed, 14 Jun 2023 16:09:54 +0000 (18:09 +0200)
commitc02d898cd13d036e1897daae5e2362ec8705e427
treecb0c39660d0f30519084c78bd499f7bf778b328c
parentd66896036a9da0333a73f062bda0eea1374dc4da
BUG/MINOR: quic: Possible crash in quic_conn_prx_cntrs_update()

quic_conn_prx_cntrs_update() may be called from quic_conn_release() with
NULL as value for ->prx_counters member. This is the case when qc_new_conn() fails
when allocating <buf_area>. In this case quic_conn_prx_cntrs_update() BUG_ON().

Must be backported as far as 2.7.
src/quic_conn.c