[mutt] 01/02: neomutt-devel/837601-do-not-segfault-on-new-mails.patch: do not crash when a new mail arrives (Closes: 837601).
Antonio Radici
antonio at moszumanska.debian.org
Mon Sep 12 20:37:01 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 e1d210d3b5f296cac34c9f4516c455cb15b7a1ee
Author: Antonio Radici <antonio at debian.org>
Date: Mon Sep 12 21:33:53 2016 +0100
neomutt-devel/837601-do-not-segfault-on-new-mails.patch: do not crash when a new mail arrives (Closes: 837601).
---
debian/changelog | 2 ++
.../837601-do-not-segfault-on-new-mails.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8f50167..1e33d8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mutt (1.7.0-4) UNRELEASED; urgency=medium
-on-startup.patch: to prevent segfaulting when mutt -y is launched
(Closes: 837416).
+ neomutt-devel/fix-array-bounds-error.patch: fix a off-by-one in neomutt.
+ + neomutt-devel/837601-do-not-segfault-on-new-mails.patch: do not crash when
+ a new mail arrives (Closes: 837601).
+ upstream/837372-do-not-color-gpgme-output.patch: to maintain the same
behavior as pgp.c when it comes to use the body color for the gpg output
(Closes: 837372).
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
new file mode 100644
index 0000000..f58764a
--- /dev/null
+++ b/debian/patches/neomutt-devel/837601-do-not-segfault-on-new-mails.patch
@@ -0,0 +1,20 @@
+Prevent neomutt from crashing when a new mail arrive and you are in the pager.
+
+This patch is a temporary fix, upstream (neomutt) has to confirm that it is OK
+in the rest of the code, in the meantime we will keep it as it prevents the
+crash.
+
+Debian bug: http://bugs.debian.org/837601
+Neomutt issue: https://github.com/neomutt/neomutt/issues/143
+
+--- a/pager.c
++++ b/pager.c
+@@ -1828,7 +1828,7 @@
+ }
+ #endif
+
+- if (IsHeader (extra) && PagerIndexLines)
++ if (IsHeader (extra))
+ {
+ if (index == NULL)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index db5883b..2809d50 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
neomutt-20160910.patch
+neomutt-devel/837601-do-not-segfault-on-new-mails.patch
neomutt-devel/fix-array-bounds-error.patch
neomutt-devel/fix-tarname-in-ac-init.patch
neomutt-devel/832971-reset-xlabel.patch
--
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