From: William Lallemand Date: Mon, 9 Mar 2026 15:53:06 +0000 (+0100) Subject: Revert "BUG/MINOR: jwt: Missing 'jwt_tokenize' return value check" X-Git-Tag: v3.4-dev7~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1babe8cb1b00586112f88231ee5f9526fb780a14;p=thirdparty%2Fhaproxy.git Revert "BUG/MINOR: jwt: Missing 'jwt_tokenize' return value check" This reverts commit 5e14904fef4856372433fc5b7e8d3de9450ec1b5. The patch is broken, a better implementation is needed. --- diff --git a/src/sample.c b/src/sample.c index 07846caee..f8150eaa5 100644 --- a/src/sample.c +++ b/src/sample.c @@ -4795,8 +4795,7 @@ static int sample_conv_jwt_member_query(const struct arg *args, struct sample *s int retval = 0; int ret; - if (jwt_tokenize(&smp->data.u.str, items, &item_num)) - goto end; + jwt_tokenize(&smp->data.u.str, items, &item_num); if (item_num < member + 1) goto end;