From fa7fadca197fd003ced09f602c176b7baf5bfdf4 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Wed, 15 Jun 2022 15:52:27 +0200 Subject: [PATCH] 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 --- src/h3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h3.c b/src/h3.c index de5a114a9..797d4f2ee 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++;