summaryrefslogtreecommitdiff
path: root/alpine
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-07-03 01:22:44 -0600
committerEduardo Chappa <chappa@washington.edu>2020-07-03 01:22:44 -0600
commit55740c0e9b40562cbc8081ce32b2a542392fd12b (patch)
treecff54294529f10fba7c853b79c14488dc2e73be7 /alpine
parente1a0f879f922ce6015fa9f9555525fee3968e187 (diff)
downloadalpine-55740c0e9b40562cbc8081ce32b2a542392fd12b.tar.xz
* Increase of some buffers used to write passwords in the local store
from MAILTMPLEN to 4*MAILTMPLEN. Probably 2*MAILTMPLEN is enough.
Diffstat (limited to 'alpine')
-rw-r--r--alpine/imap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index a8c3b6d..bd15b26 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -3379,8 +3379,8 @@ write_passfile(pinerc, l)
char *authend, *authtype;
#ifdef WINCRED
# if (WINCRED > 0)
- char target[MAILTMPLEN];
- char blob[MAILTMPLEN];
+ char target[4*MAILTMPLEN];
+ char blob[4*MAILTMPLEN];
CREDENTIAL cred;
LPTSTR ltarget = 0;
@@ -3430,8 +3430,8 @@ write_passfile(pinerc, l)
#elif APPLEKEYCHAIN
int rc;
- char target[MAILTMPLEN];
- char blob[MAILTMPLEN];
+ char target[4*MAILTMPLEN];
+ char blob[4*MAILTMPLEN];
SecKeychainItemRef itemRef = NULL;
if(using_passfile == 0)