]> granicus.if.org Git - mutt/commitdiff
Increase user/pass field sizes in auth_login.
authorKevin McCarthy <kevin@8t8.us>
Sat, 22 Sep 2018 16:53:55 +0000 (09:53 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 22 Sep 2018 16:53:55 +0000 (09:53 -0700)
account.pass was previously increased to 256 in cd421c13.  Also, the
buf should be bigger than the user+pass+"LOGIN", so bump it up too.

imap/auth_login.c

index 3e40d4d65d128b9f0f5fa69cacb948ddfc60ddaf..00651130dca6deffde4ce8aa1de6ce844fbe99d6 100644 (file)
@@ -29,8 +29,8 @@
 /* imap_auth_login: Plain LOGIN support */
 imap_auth_res_t imap_auth_login (IMAP_DATA* idata, const char* method)
 {
-  char q_user[SHORT_STRING], q_pass[SHORT_STRING];
-  char buf[STRING];
+  char q_user[STRING], q_pass[STRING];
+  char buf[LONG_STRING];
   int rc;
 
   if (mutt_bit_isset (idata->capabilities, LOGINDISABLED))