From 52949004f33a5112e1154fefb3455bc7cd421c13 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sun, 5 Mar 2017 15:24:45 -0800 Subject: [PATCH] Increase ACCOUNT.pass field size. (closes #3921) #3921 reported his password token used for Google XOAUTH2 is size 129. The ACCOUNT structure currently uses a size 128 buffer. Who knew a password field would ever be bigger than that? Since the ACCOUNT structure has no allocation/dellocation routines, the easiest fix is to increase the size. Bump the size up to 256. --- account.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.h b/account.h index f7932bf0..bcd02f04 100644 --- a/account.h +++ b/account.h @@ -43,7 +43,7 @@ typedef struct { char user[64]; char login[64]; - char pass[128]; + char pass[256]; char host[128]; unsigned short port; unsigned char type; -- 2.40.0