diff options
Diffstat (limited to 'gl/lib/base64.c')
-rw-r--r-- | gl/lib/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/base64.c b/gl/lib/base64.c index ba7322a26..a438d0fd1 100644 --- a/gl/lib/base64.c +++ b/gl/lib/base64.c @@ -506,7 +506,7 @@ base64_decode (struct base64_decode_context *ctx, inlen = 0; break; } - if (!decode_4 (non_nl, 4, &out, &outleft)) + if (!decode_4 (non_nl, inlen, &out, &outleft)) break; inlen = in_end - in; |