]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Possible crash when dumping version information
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 May 2023 11:06:31 +0000 (13:06 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 May 2023 11:26:37 +0000 (13:26 +0200)
commitb97169629696dd7cc4c8a3f15aa0c960ee113272
treecc481cd8038f301970194a2cd3ddd501e718e11d
parentc147171d57d2a33031925ae8cc24ffffa512d1ae
BUG/MINOR: quic: Possible crash when dumping version information

->others member of tp_version_information structure pointed to a buffer in the
TLS stack used to parse the transport parameters. There is no garantee that this
buffer is available until the connection is released.

Do not dump the available versions selected by the client anymore, but displayed the
chosen one (selected by the client for this connection) and the negotiated one.

Must be backported to 2.7 and 2.6.
include/haproxy/quic_tp-t.h
include/haproxy/quic_tp.h
src/quic_tp.c