commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. release-2.2-689-g25f14bd


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-689-g25f14bd
Date: Thu, 14 Aug 2014 20:57:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=25f14bddd6a2df8d0b85a40d6a179170f0f57311

The branch, master has been updated
       via  25f14bddd6a2df8d0b85a40d6a179170f0f57311 (commit)
      from  68f8161910688e280d736d7c187cbf86afd7c826 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 25f14bddd6a2df8d0b85a40d6a179170f0f57311
Author: Sergey Poznyakoff <address@hidden>
Date:   Thu Aug 14 23:55:14 2014 +0300

    Fix possible coredump in stream library.
    
    * libmailutils/stream/stream.c (mu_stream_strerror): stream can be NULL.

-----------------------------------------------------------------------

Summary of changes:
 libmailutils/stream/stream.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libmailutils/stream/stream.c b/libmailutils/stream/stream.c
index 0136e9d..ae0a5b4 100644
--- a/libmailutils/stream/stream.c
+++ b/libmailutils/stream/stream.c
@@ -371,6 +371,8 @@ mu_stream_strerror (mu_stream_t stream, int rc)
 {
   const char *str;
 
+  if (!stream)
+    return mu_strerror (rc);
   if (stream->error_string)
     str = stream->error_string (stream, rc);
   else


hooks/post-receive
-- 
GNU Mailutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]