[mutt] 01/01: removing the second chunk of a patch as safe_calloc() will fail anyway (thanks flatcap!)

Antonio Radici antonio at moszumanska.debian.org
Tue Sep 13 21:02:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

antonio pushed a commit to branch master
in repository mutt.

commit 1e4ae5206ff27a964156b457512598027ef008fd
Author: Antonio Radici <antonio at debian.org>
Date:   Tue Sep 13 22:02:13 2016 +0100

    removing the second chunk of a patch as safe_calloc() will fail anyway (thanks flatcap!)
---
 .../patches/upstream/827189-opportunistic-encryption-crash.patch | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/debian/patches/upstream/827189-opportunistic-encryption-crash.patch b/debian/patches/upstream/827189-opportunistic-encryption-crash.patch
index e19c9fb..c49c821 100644
--- a/debian/patches/upstream/827189-opportunistic-encryption-crash.patch
+++ b/debian/patches/upstream/827189-opportunistic-encryption-crash.patch
@@ -15,12 +15,3 @@ Upstream issue: http://bugs.mutt.org/3873
              n += 2;
            n++;
          }
-@@ -3716,6 +3716,8 @@
-     }
-   n++; /* make sure to allocate at least one byte */
-   pattern = p = safe_calloc (1,n);
-+  if (!pattern)
-+    return NULL;
-   for(l=list; l; l = l->next)
-     {
-       s = l->data;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mutt/mutt.git



More information about the pkg-mutt-commits mailing list