Frédéric Lécaille d77c50b6d6 MINOR: quic: Possible crash when inspecting the xprt context
haproxy may crash when running this statement in qc_lstnr_pkt_rcv():
	conn_ctx = qc->conn->xprt_ctx;
because qc->conn may not be initialized. With this patch we ensure
qc->conn is correctly initialized before accessing its ->xprt_ctx
members. We zero the xrpt_ctx structure (ssl_conn_ctx struct), then
initialize its ->conn member with HA_ATOMIC_STORE. Then, ->conn and
->conn->xptr_ctx members of quic_conn struct can be accessed with HA_ATOMIC_LOAD()
2021-11-30 11:50:42 +01:00
..
2021-11-05 07:48:38 +01:00
2021-05-08 12:29:51 +02:00
2021-09-17 17:22:05 +02:00
2021-11-08 12:08:26 +01:00
2021-11-08 08:05:39 +01:00
2021-11-08 08:05:39 +01:00
2021-11-08 12:08:26 +01:00
2021-11-08 12:08:26 +01:00
2021-11-08 08:05:39 +01:00
2021-11-05 07:48:38 +01:00
2021-11-08 12:08:26 +01:00
2021-09-23 15:27:25 +02:00
2021-11-05 07:48:38 +01:00
2021-09-24 15:07:50 +02:00
2021-11-08 12:08:26 +01:00