increase PassCmd output buffer even more

apparently, some XOAUTH2 tokens are at 2.4K already, so make it 8K to be
*really* safe for a while.

REFMAIL: <20200716000515.GA2111668@lysator.liu.se>
This commit is contained in:
Oswald Buddenhagen 2020-07-28 00:28:11 +02:00
parent 09540b5648
commit 3651c30296

View File

@ -1893,7 +1893,7 @@ ensure_password( imap_server_conf_t *srvc )
if (cmd) { if (cmd) {
FILE *fp; FILE *fp;
int ret; int ret;
char buffer[2048]; // Hopefully more than enough room for XOAUTH2, etc. tokens char buffer[8192]; // Hopefully more than enough room for XOAUTH2, etc. tokens
if (*cmd == '+') { if (*cmd == '+') {
flushn(); flushn();