]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong list_for_each_entry() use when building packets from qc_do_bui...
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 23 Aug 2022 09:42:48 +0000 (11:42 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 23 Aug 2022 10:06:40 +0000 (12:06 +0200)
commita8a60432406d7bfd06975e087650a8817c03fcf6
treed3a4621497194b3f7381ccf3f878ec63da394d5e
parentda9c441886dbfa02840a93e367f65fd6d312c835
BUG/MINOR: quic: Wrong list_for_each_entry() use when building packets from qc_do_build_pkt()

This is list_for_each_entry_safe() which must be used if we want to delete elements
inside its code block. This could explain that some frames which were not built were added
to packets with a NULL ->pkt member.

Thank you to Tristan for having reported this issue through backtraces in GH #1808

Must be backported to 2.6.
src/xprt_quic.c