mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-15 12:01:37 +01:00
Revert "BUG/MINOR: jwt: Missing 'jwt_tokenize' return value check"
This reverts commit 5e14904fef4856372433fc5b7e8d3de9450ec1b5. The patch is broken, a better implementation is needed.
This commit is contained in:
parent
1cbd1163f0
commit
1babe8cb1b
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user