From 3651c30296cbe8995b8a9c1c839088fa03778540 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 28 Jul 2020 00:28:11 +0200 Subject: [PATCH] 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> --- src/drv_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 4ea86d6..d429bcb 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1893,7 +1893,7 @@ ensure_password( imap_server_conf_t *srvc ) if (cmd) { FILE *fp; 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 == '+') { flushn();