]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Missing transport parameters initializations
authorFrédéric Lécaille <flecaille@haproxy.com>
Sat, 17 Jun 2023 11:23:16 +0000 (13:23 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 19 Jun 2023 06:49:04 +0000 (08:49 +0200)
commit98b55d1260df37f019a2d4ebc984338fae6e8a7f
tree9f9809b9d6ab0ac7b339ced1b7fb6ee6f9b40d00
parent30254d5e757306b0243f618977a82f9924cb8ba6
BUG/MINOR: quic: Missing transport parameters initializations

This bug was introduced by this commit:

     MINOR: quic: Remove pool_zalloc() from qc_new_conn()

The transport parameters was not initialized. This leaded to a crash when
dumping the received ones from TRACE()s.

Also reset the lengths of the CIDs attached to a quic_conn struct to 0 value
to prevent them from being dumped from traces when not already initialized.

No backport needed.
src/quic_conn.c