]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: fix ack range node pool_free call passing wrong pointer type
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 28 May 2026 05:54:32 +0000 (07:54 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 28 May 2026 15:47:31 +0000 (17:47 +0200)
commit52ce3167866d7f29ebe773d6a6a5b21774ee29d4
tree24342349cd7058ad75e162575c5f70540b797bcc
parent1cf1a0c8b14a064d8c1f4f87fc57dc69d9c612f8
BUG/MINOR: quic: fix ack range node pool_free call passing wrong pointer type

In quic_insert_new_range(), the variable 'first' is a struct eb64_node*,
but pool_free expects a struct quic_arng_node*. While the addresses are identical
(since 'first' is the first member of quic_arng_node), this is technically
incorrect and should use eb64_entry() for proper type safety.

Must be backported to all versions.
src/quic_ack.c