summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alpine/osdep/termout.wnt.c3
-rw-r--r--imap/src/c-client/oauth2_aux.c1
-rw-r--r--pith/pine.hlp5
3 files changed, 6 insertions, 3 deletions
diff --git a/alpine/osdep/termout.wnt.c b/alpine/osdep/termout.wnt.c
index 4e29f288..22d90c38 100644
--- a/alpine/osdep/termout.wnt.c
+++ b/alpine/osdep/termout.wnt.c
@@ -782,8 +782,7 @@ os_login_dialog (NETMBX *mb, char *user_utf8, int userlen,
tpwd_utf8 = lptstr_to_utf8(dlgpw.pwd);
if(tpwd_utf8){
- strncpy(*pwd_utf8, tpwd_utf8, pwdlen - 1);
- (*pwd_utf8)[pwdlen - 1] = '\0';
+ *pwd_utf8 = cpystr(tpwd_utf8);
fs_give((void **) &tpwd_utf8);
}
if(prespass)
diff --git a/imap/src/c-client/oauth2_aux.c b/imap/src/c-client/oauth2_aux.c
index eac92a10..3bb4b502 100644
--- a/imap/src/c-client/oauth2_aux.c
+++ b/imap/src/c-client/oauth2_aux.c
@@ -314,6 +314,7 @@ mm_login_oauth2_c_client_method (NETMBX *mb, char *user, char *method,
switch(status){
case HTTP_UNAUTHORIZED:
mm_log("Client not authorized (wrong client-id?)", ERROR);
+ oauth2->cancel_refresh_token++;
break;
case HTTP_OK: if(oauth2->access_token)
fs_give((void **) &oauth2->access_token);
diff --git a/pith/pine.hlp b/pith/pine.hlp
index fc2e5a4b..bd848b36 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 639 2022-03-13 10:52:22
+Alpine Commit 640 2022-04-04 22:47:37
============= h_news =================
<HTML>
<HEAD>
@@ -266,6 +266,9 @@ Bugs addressed include:
global smtp-server, then Alpine will use the sendmail-path even when
the user configured a smtp-server for a role. Reported by Gregory
Heytings.
+
+<LI> Crash in PC-Alpine when creating a mail collection and no username is
+ indicated in the server path. Reported by Sandy Schuman.
</UL>
<P>Version 2.25 adds new features and addresses bugs found in previous