changeset: 6958:f0e3b2875065
user:      Kevin McCarthy <ke...@8t8.us>
date:      Sun Mar 05 15:24:45 2017 -0800
link:      http://dev.mutt.org/hg/mutt/rev/f0e3b2875065

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.

changeset: 6959:daa9111c1f42
user:      Kevin McCarthy <ke...@8t8.us>
date:      Sun Mar 05 15:26:03 2017 -0800
link:      http://dev.mutt.org/hg/mutt/rev/daa9111c1f42

merge stable

diffs (12 lines):

diff -r 5fc3c0729a07 -r daa9111c1f42 account.h
--- a/account.h Thu Mar 02 15:53:27 2017 -0800
+++ b/account.h Sun Mar 05 15:26:03 2017 -0800
@@ -43,7 +43,7 @@
 {
   char user[64];
   char login[64];
-  char pass[128];
+  char pass[256];
   char host[128];
   unsigned short port;
   unsigned char type;

Reply via email to