BUG/MEDIUM: quic: fix null deref on error path in qc_conn_init()
authorWilly Tarreau <w@1wt.eu>
Mon, 10 May 2021 05:40:27 +0000 (07:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 May 2021 05:40:27 +0000 (07:40 +0200)
commit7deb28ce6510bbc764eddd4e381cb7268792254a
tree03683a4ace229f1cad4d7d5339c1b6722f80cbca
parent714f28ceef368e24c35d40989738f74a057184ae
BUG/MEDIUM: quic: fix null deref on error path in qc_conn_init()

When ctx is NULL, we go to the "err" label, which could dereference it.
No backport is needed.
src/xprt_quic.c