From: Kevin McCarthy Date: Sun, 5 Mar 2017 23:24:45 +0000 (-0800) Subject: Increase ACCOUNT.pass field size. (closes #3921) X-Git-Tag: mutt-1-8-1-rel~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52949004;p=mutt 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. --- 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;