summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pith/pine.hlp4
-rw-r--r--pith/save.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 26e5e269..6ab8a33a 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -191,6 +191,10 @@ Bugs addressed:
<UL>
<LI> When forwarding a message, replacing an attachment might make Alpine
re-attach the original attachment. Reported by Michael Traxler.
+
+<LI> When an attachment is deleted, the saved message with the deleted
+attachment contains extra null characters after the end of the
+attachment boundary.
</UL>
<P> Version 2.24 adds new features and addresses bugs found in previous
diff --git a/pith/save.c b/pith/save.c
index 2d74d544..fe7f974f 100644
--- a/pith/save.c
+++ b/pith/save.c
@@ -1602,6 +1602,7 @@ save_ex_explain_body(struct mail_bodystruct *body, long unsigned int *len, gf_io
else
return(0);
+ ilen = 0; /* maybe save_ex_explain_parts should set this to zero instead */
if(!save_ex_explain_parts(body, 0, &ilen, pc))
return(0);