From 9deaf399553050b3b426e8a39d0ffd22430bf72d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 14 Apr 2018 21:39:58 +0200 Subject: In-depth fix for to64frombits() BASE64 encoder buffer sizing. --- fetchmail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 98f07742..d2939c64 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -640,8 +640,8 @@ int prc_parse_file(const char *, const flag); int prc_filecheck(const char *, const flag); /* base64.c */ -void to64frombits(char *, const void *, int); -int from64tobits(void *, const char *, int maxlen); +int to64frombits(char *, const void *, int inlen, size_t outlen); +int from64tobits(void *, const char *, int mxoutlen); /* unmime.c */ /* Bit-mask returned by MimeBodyType */ -- cgit v1.2.3