summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2022-04-05 20:43:27 -0600
committerEduardo Chappa <chappa@washington.edu>2022-04-05 20:43:27 -0600
commit64b3d993ac72a5038bd3cd982dec3f5d3f963b12 (patch)
treef816cbf1028a69cdd130d064b4ddf35f6520eac5 /pith
parentdfab77514703d75d3874bd382fdcde4ec922553c (diff)
downloadalpine-64b3d993ac72a5038bd3cd982dec3f5d3f963b12.tar.xz
* Crash in Alpine when running a filter that moves deleted messages the
INBOX in a Gmail account. Reported by Jyrki Voutilainen.
Diffstat (limited to 'pith')
-rw-r--r--pith/pattern.c2
-rw-r--r--pith/pine.hlp5
2 files changed, 5 insertions, 2 deletions
diff --git a/pith/pattern.c b/pith/pattern.c
index 0a113fbf..968efde9 100644
--- a/pith/pattern.c
+++ b/pith/pattern.c
@@ -7712,7 +7712,7 @@ process_filter_patterns(MAILSTREAM *stream, MSGNO_S *msgmap, long int recent)
}
/* New mail arrival means start over */
- if(mail_uid(stream, stream->nmsgs) == uid)
+ if(stream->nmsgs && mail_uid(stream, stream->nmsgs) == uid)
break;
/* else, go again */
diff --git a/pith/pine.hlp b/pith/pine.hlp
index bd848b36..c5a7d799 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 640 2022-04-04 22:47:37
+Alpine Commit 641 2022-04-05 20:43:24
============= h_news =================
<HTML>
<HEAD>
@@ -269,6 +269,9 @@ Bugs addressed include:
<LI> Crash in PC-Alpine when creating a mail collection and no username is
indicated in the server path. Reported by Sandy Schuman.
+
+<LI> Crash in Alpine when running a filter that moves deleted messages the
+ INBOX in a Gmail account. Reported by Jyrki Voutilainen.
</UL>
<P>Version 2.25 adds new features and addresses bugs found in previous