BUG/MINOR: sample: Fix wrong 'base64urldec' return value check in 'jw… · haproxy/haproxy@1edbb7b · GitHub
Skip to content

Commit 1edbb7b

Browse files
rlebretoncapflam
authored andcommitted
BUG/MINOR: sample: Fix wrong 'base64urldec' return value check in 'jwt_member_query'
The 'base64urldec' function return value was only checked against -1 when it can also return -2 in case of error (too small out buffer). This was raised in GitHub issue #3510. This patch can be backported to all stable branches.
1 parent 1a3c60f commit 1edbb7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/sample.c‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)