diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-07-03 01:22:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-07-03 01:22:44 -0600 |
commit | 55740c0e9b40562cbc8081ce32b2a542392fd12b (patch) | |
tree | cff54294529f10fba7c853b79c14488dc2e73be7 | |
parent | e1a0f879f922ce6015fa9f9555525fee3968e187 (diff) | |
download | alpine-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.
-rw-r--r-- | alpine/imap.c | 8 | ||||
-rw-r--r-- | 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 ================= <HTML> <HEAD> |