summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/imap.c6
-rw-r--r--pith/pine.hlp7
2 files changed, 10 insertions, 3 deletions
diff --git a/pith/imap.c b/pith/imap.c
index cde97ccf..4889a61e 100644
--- a/pith/imap.c
+++ b/pith/imap.c
@@ -1157,7 +1157,7 @@ void
imap_delete_passwd_auth(MMLOGIN_S **m_list, char *user,
STRLIST_S *hostlist, int altflag, char *authtype)
{
- MMLOGIN_S *l, *p;
+ MMLOGIN_S *l, *p, *q;
int len, offset;
if(m_list == NULL || *m_list == NULL) return;
@@ -1186,8 +1186,9 @@ imap_delete_passwd_auth(MMLOGIN_S **m_list, char *user,
/* relink *mlist */
if(p == *m_list)
- *m_list = (*m_list)->next;
+ q = (*m_list)->next;
else{
+ q = *m_list;
for(l = *m_list; l && l->next != p; l = l->next);
l->next = p->next;
}
@@ -1201,6 +1202,7 @@ imap_delete_passwd_auth(MMLOGIN_S **m_list, char *user,
free_strlist(&p->hosts);
fs_give((void **) &p);
+ *m_list = q;
dprint((9, "imap_delete_password: done with deletion."));
}
diff --git a/pith/pine.hlp b/pith/pine.hlp
index d3858b9e..0ef97809 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 602 2021-10-08 21:42:40
+Alpine Commit 603 2021-10-10 11:00:24
============= h_news =================
<HTML>
<HEAD>
@@ -206,6 +206,11 @@ Bugs addressed include:
<UL>
<LI> Alpine crashes when it cannot retrieve the privacy policy due to
failure connecting to the external server.
+
+<LI> Alpine might delete all passwords from the password file if the
+ password file is not unlocked by cancellation, or the authentication
+ for an XOAUTH2 server is cancelled, or the password of an account
+ is changed.
</UL>
<P>Version 2.25 adds new features and addresses bugs found in previous