summaryrefslogtreecommitdiff
path: root/pith/save.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-03-19 10:22:12 -0700
committerEduardo Chappa <chappa@washington.edu>2016-03-19 10:22:12 -0700
commitb6f8cf864a0f8019b7a4159f73c6e830939f4b99 (patch)
tree73f76e1990e750bb5c22ba89ea182e2d742de5eb /pith/save.c
parent0bb3a0be1d23f86b4741102d3ea2c9fc4ef4b5af (diff)
downloadalpine-b6f8cf864a0f8019b7a4159f73c6e830939f4b99.tar.xz
* Bug: Crash when attempting to read a message after a bounce command.
In order to produce a crash one needed to use the ^T subcommand and do a search in a LDAP directory. The crash is produced by changes to the text in the title bar. Reported by Heinrich Mislik in the Alpine-info list. * Add ignore size option to Alpine, which helps users deal with some servers that compute sizes incorrectly but send complete messages when users save messages from those servers.
Diffstat (limited to 'pith/save.c')
-rw-r--r--pith/save.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pith/save.c b/pith/save.c
index e2e68651..f6f45b0a 100644
--- a/pith/save.c
+++ b/pith/save.c
@@ -1157,6 +1157,7 @@ long save_fetch_append_cb(MAILSTREAM *stream, void *data, char **flags,
snprintf(buf, sizeof(buf),
"Message to save shrank: source msg # %ld may be saved incorrectly",
mn_raw2m(pkg->msgmap, raw));
+ if(F_OFF(F_IGNORE_SIZE, ps_global))
q_status_message(SM_ORDER, 0, 3, buf);
}
else{