diff options
-rw-r--r-- | alpine/mailcmd.c | 3 | ||||
-rw-r--r-- | pith/pine.hlp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/alpine/mailcmd.c b/alpine/mailcmd.c index 37d54eb4..f8ae770c 100644 --- a/alpine/mailcmd.c +++ b/alpine/mailcmd.c @@ -4681,8 +4681,7 @@ get_export_filename(struct pine *ps, char *filename, char *deefault, p = get_next_hist(*history, filename, 0, NULL); } - if(p != NULL){ - fn = last_cmpnt(p); + if(p != NULL && (fn = last_cmpnt(p)) != NULL){ strncpy(dir, p, MIN(fn - p, sizeof(dir)-1)); dir[MIN(fn - p, sizeof(dir)-1)] = '\0'; if(fn - p > 1) diff --git a/pith/pine.hlp b/pith/pine.hlp index 6fdbd01f..5d34e65b 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 103 2015-09-18 22:15:37 +Alpine Commit 104 2015-09-19 12:51:36 ============= h_news ================= <HTML> <HEAD> @@ -334,6 +334,8 @@ Bugs that have been addressed include: selection would not show those messages if those messages are on top of the current message in the top of the screen. Reported by Ulf-Dietrich Braumann. + + <LI> Crash when reviewing history of saving attachments. </UL> |