From: Amaury Denoyelle Date: Wed, 15 Jun 2022 13:52:27 +0000 (+0200) Subject: BUG/BUILD: h3: fix wrong label name X-Git-Tag: v2.7-dev1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa7fadca197fd003ced09f602c176b7baf5bfdf4;p=thirdparty%2Fhaproxy.git BUG/BUILD: h3: fix wrong label name A pretty ugly mistake introduced recently with an invalid goto statement which prevents QUIC compilation on haproxy. This must be backported on 2.6 as a complement to 60ef19f137bad8cd97598970c708dd0bf4a89a70 BUG/MINOR: h3/qpack: deal with too many headers --- diff --git a/src/h3.c b/src/h3.c index de5a114a99..797d4f2ee3 100644 --- a/src/h3.c +++ b/src/h3.c @@ -798,7 +798,7 @@ static int h3_resp_headers_send(struct qcs *qcs, struct htx *htx) } else if (type == HTX_BLK_HDR) { if (unlikely(hdr >= sizeof(list) / sizeof(list[0]) - 1)) - goto fail; + goto err; list[hdr].n = htx_get_blk_name(htx, blk); list[hdr].v = htx_get_blk_value(htx, blk); hdr++;