]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: missing goto on buf alloc failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 15 May 2023 07:35:59 +0000 (09:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 15 May 2023 12:57:56 +0000 (14:57 +0200)
commit6133aba8896a939d16c2077ff25140651909192b
treee3c32b4db4673723a2635f90b7c3212210077f8c
parent1611a7659b25a9bdc226790b4acb185eb3de2414
BUG/MINOR: h3: missing goto on buf alloc failure

The following patch introduced proper error management on buffer
allocation failure :
  0abde9dee69fe151f5f181a34e0782ef840abe53
  BUG/MINOR: mux-quic: properly handle buf alloc failure

However, when decoding an empty STREAM frame with just FIN bit set, this
was not done correctly. Indeed, there is a missing goto statement in
case of a NULL buffer check.

This was reported thanks to coverity analysis. This should fix github
issue #2163.

This must be backported up to 2.6.
src/h3.c