Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66543 - [isync] Backport bf1479870036
Attached to Project:
Community Packages
Opened by Oleksandr Natalenko (post-factum) - Tuesday, 05 May 2020, 08:54 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 18 July 2020, 20:58 GMT
Opened by Oleksandr Natalenko (post-factum) - Tuesday, 05 May 2020, 08:54 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 18 July 2020, 20:58 GMT
|
DetailsPlease apply the following commit from the upstream repo:
=== commit bf147987003678ae70c2c2ed5275ca4d75842990 Author: Dmitry Torokhov <dtor@chromium.org> Date: Tue Jul 9 11:51:21 2019 -0700 Bump up PassCmd buffer size to 2KiB While ordinary passwords are rarely longer than 80 bytes, XOAUTH2 tokens easily exceed this limit. Let's bump it up to 2K to be really safe. diff --git a/src/drv_imap.c b/src/drv_imap.c index 0f72c1a..a4959fb 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1875,7 +1875,7 @@ ensure_password( imap_server_conf_t *srvc ) if (cmd) { FILE *fp; int ret; - char buffer[80]; + char buffer[2048]; // Hopefully more than enough room for XOAUTH2, etc. tokens if (*cmd == '+') { flushn(); === since without this fix XOAUTH2 doesn't work. Thanks. Original merge request: https://sourceforge.net/p/isync/isync/merge-requests/4/ Upstream repo: https://sourceforge.net/p/isync/isync/ci/master/tree/ |
This task depends upon
Closed by Jonathan Steel (jsteel)
Saturday, 18 July 2020, 20:58 GMT
Reason for closing: Implemented
Additional comments about closing: 1.3.2-1
Saturday, 18 July 2020, 20:58 GMT
Reason for closing: Implemented
Additional comments about closing: 1.3.2-1
Comment by Oleksandr Natalenko (post-factum) -
Friday, 03 July 2020, 07:53 GMT
Gentle ping. Please consider backporting the patch.