From: Timo Sirainen Date: Sat, 9 May 2015 16:31:05 +0000 (+0300) Subject: lib-mail: Fixed crash in istream-attachment-extractor error handling path X-Git-Tag: 2.2.17.rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2be6479ae960b4df1407cefb7946b1a675e2d685;p=thirdparty%2Fdovecot%2Fcore.git lib-mail: Fixed crash in istream-attachment-extractor error handling path --- diff --git a/src/lib-mail/istream-attachment-extractor.c b/src/lib-mail/istream-attachment-extractor.c index 8a5f0fa2ea..312e46f4c1 100644 --- a/src/lib-mail/istream-attachment-extractor.c +++ b/src/lib-mail/istream-attachment-extractor.c @@ -416,7 +416,7 @@ static int astream_decode_base64(struct attachment_istream *astream) i_assert(ret == -1); if (input->stream_errno != 0) { i_error("istream-attachment: read(%s) failed: %m", - i_stream_get_name(base64_input)); + i_stream_get_name(input)); failed = TRUE; } }