From ac368b05842ee45ed29cd997840eb788649da268 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 20 Feb 2014 00:06:05 -0700 Subject: * New version 2.19.8 * Forwarding messages with attachments of content-type multipart, failed when attempting to signed it, with and "Error writing pipe" error. --- pith/pine.hlp | 5 ++++- pith/smime.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'pith') diff --git a/pith/pine.hlp b/pith/pine.hlp index 147e30d3..66299dfa 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 46 2014-02-17 01:15:10 +Alpine Commit 47 2014-02-20 00:06:00 ============= h_news ================= @@ -244,6 +244,9 @@ Bugs that have been addressed include:
  • S/MIME: signed and encrypted messages from Thunderbird would not validate. Thanks to Andreas Schamanek for testing, debugging and advising during the process of fixing this problem. +
  • S/MIME: Forwarding messages with multipart content-type failed to be signed + with "Error writing pipe" message. Reported by Andreas Schamanek + and Stefan Mueller.
  • Crash when tcp connection to NNTP server was lost after connection had been established, but lost immediately afterwards.
  • WebAlpine: add _GNU_SOURCE to make pubcookie build. diff --git a/pith/smime.c b/pith/smime.c index 9d588479..469a381e 100644 --- a/pith/smime.c +++ b/pith/smime.c @@ -1113,7 +1113,9 @@ rfc822_output_func(void *b, char *string) { BIO *bio = (BIO *) b; - return((BIO_puts(bio, string) > 0) ? 1L : 0L); + return(string ? *string ? (BIO_puts(bio, string) > 0 ? 1L : 0L) + : (BIO_puts(bio, string) >= 0 ? 1L : 0L) + : 0L); } -- cgit v1.2.3-54-g00ecf