summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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