From 55740c0e9b40562cbc8081ce32b2a542392fd12b Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 3 Jul 2020 01:22:44 -0600 Subject: * Increase of some buffers used to write passwords in the local store from MAILTMPLEN to 4*MAILTMPLEN. Probably 2*MAILTMPLEN is enough. --- alpine/imap.c | 8 ++++---- pith/pine.hlp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/alpine/imap.c b/alpine/imap.c index a8c3b6dd..bd15b268 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) diff --git a/pith/pine.hlp b/pith/pine.hlp index ca46f719..b913eaef 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 477 2020-07-02 16:52:10 +Alpine Commit 478 2020-07-03 01:22:39 ============= h_news ================= -- cgit v1.2.3-70-g09d2