Revert "BUG/MINOR: jwt: Missing 'jwt_tokenize' return value check"
Some checks are pending
Contrib / build (push) Waiting to run
alpine/musl / gcc (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

This reverts commit 5e14904fef.

The patch is broken, a better implementation is needed.
This commit is contained in:
William Lallemand 2026-03-09 16:53:06 +01:00
parent 1cbd1163f0
commit 1babe8cb1b

View file

@ -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;