summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-10-28 19:53:52 -0600
committerEduardo Chappa <chappa@washington.edu>2016-10-28 19:53:52 -0600
commit2217d0d0ad8f52200c883015dc6848f5e743e86e (patch)
tree88f7da8e4157c047c9b90fc0f198e95cc208822c
parentfbdc659829a66b2bfb4439d18b1826434e546ef7 (diff)
downloadalpine-2217d0d0ad8f52200c883015dc6848f5e743e86e.tar.xz
* Crash when canceling a goto command on a local collection that has
not been expanded and attempting to expand such collection.
-rw-r--r--alpine/folder.c2
-rw-r--r--pith/pine.hlp5
2 files changed, 5 insertions, 2 deletions
diff --git a/alpine/folder.c b/alpine/folder.c
index b94c9068..65c120da 100644
--- a/alpine/folder.c
+++ b/alpine/folder.c
@@ -2820,7 +2820,7 @@ folder_lister_choice(SCROLL_S *sparms)
return rv;
}
- if(cntxt->dir->status & CNTXT_NOFIND){
+ if(index < 0 || (cntxt->dir->status & CNTXT_NOFIND)){
rv = 1; /* leave scrolltool to rebuild screen */
FPROC(sparms)->fs->context = cntxt;
FPROC(sparms)->fs->first_folder[0] = '\0';
diff --git a/pith/pine.hlp b/pith/pine.hlp
index ea7969fe..78222eb6 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 178 2016-10-23 23:14:56
+Alpine Commit 179 2016-10-28 19:53:46
============= h_news =================
<HTML>
<HEAD>
@@ -478,6 +478,9 @@ Bugs that have been addressed include:
<LI> Crash when reviewing history of saving attachments.
+ <LI> Crash when canceling a goto command on a local collection that has
+ not been expanded and attempting to expand such collection.
+
<LI> Crash in Pico when forwarding messages that contain a direction mark
at the end of a line. Reported by James Mingo.