[mutt] 01/02: neomutt-devel/837601-do-not-segfault-on-new-mails.patch: updated to prevent crash when exiting from the pager while viewing a composed email (Closes: 837634).

Antonio Radici antonio at moszumanska.debian.org
Tue Sep 13 19:11:46 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 610bf49ac193fb4a39d111679bad473996d10971
Author: Antonio Radici <antonio at debian.org>
Date:   Tue Sep 13 14:58:28 2016 +0100

    neomutt-devel/837601-do-not-segfault-on-new-mails.patch: updated to prevent crash when exiting from the pager while viewing a composed email (Closes: 837634).
---
 debian/changelog                                             |  9 +++++++++
 .../neomutt-devel/837601-do-not-segfault-on-new-mails.patch  | 12 ++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 614a6f5..acfd24f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mutt (1.7.0-5) UNRELEASED; urgency=medium
+
+  * debian/patches:
+    + neomutt-devel/837601-do-not-segfault-on-new-mails.patch: updated to
+      prevent crash when exiting from the pager while viewing a composed email
+      (Closes: 837634).
+
+ -- Antonio Radici <antonio at debian.org>  Tue, 13 Sep 2016 14:57:35 +0100
+
 mutt (1.7.0-4) unstable; urgency=medium
 
   * debian/patches:
diff --git a/debian/patches/neomutt-devel/837601-do-not-segfault-on-new-mails.patch b/debian/patches/neomutt-devel/837601-do-not-segfault-on-new-mails.patch
index f58764a..e3f59d5 100644
--- a/debian/patches/neomutt-devel/837601-do-not-segfault-on-new-mails.patch
+++ b/debian/patches/neomutt-devel/837601-do-not-segfault-on-new-mails.patch
@@ -18,3 +18,15 @@ Neomutt issue: https://github.com/neomutt/neomutt/issues/143
        {
  	if (index == NULL)
  	{
+--- a/curs_main.c
++++ b/curs_main.c
+@@ -365,6 +365,9 @@
+   HEADER  **save_new = NULL;
+   int j;
+ 
++  if (!menu || !ctx)
++    return;
++
+   /* take note of the current message */
+   if (oldcount)
+   {

-- 
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