summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-08-31 16:30:32 +0000
committerEray Aslan <eras@gentoo.org>2011-08-31 16:30:32 +0000
commit6a62e9b235a3c14aa8c29c2aefa27d2bb79831b8 (patch)
treedc5d4df407f30f72df9fad7a81edcc6107fefef6 /mail-filter
parent[profiles] Mask hwloc[numa] for alpha ia64 ppc and sparc (diff)
downloadgentoo-2-6a62e9b235a3c14aa8c29c2aefa27d2bb79831b8.tar.gz
gentoo-2-6a62e9b235a3c14aa8c29c2aefa27d2bb79831b8.tar.bz2
gentoo-2-6a62e9b235a3c14aa8c29c2aefa27d2bb79831b8.zip
Fix segfault in reformime - bug #379101. Take two
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/ChangeLog6
-rw-r--r--mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch13
2 files changed, 18 insertions, 1 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index f247e15d125a..e81dd9b9111f 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/maildrop
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.116 2011/08/15 07:23:57 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.117 2011/08/31 16:30:32 eras Exp $
+
+ 31 Aug 2011; Eray Aslan <eras@gentoo.org>
+ files/maildrop-2.5.4-reformime.patch:
+ Fix segfault in reformime - bug #379101. Take two
15 Aug 2011; Eray Aslan <eras@gentoo.org> maildrop-2.5.4.ebuild,
+files/maildrop-2.5.4-reformime.patch:
diff --git a/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch b/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
index 4eb24a4a2d18..6e5544399870 100644
--- a/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
+++ b/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
@@ -12,3 +12,16 @@ Index: rfc2045/reformime.c
break;
case 'i':
doinfo=1;
+Index: rfc2045/reformime.c
+===================================================================
+--- rfc2045/reformime.c (revision 137)
++++ rfc2045/reformime.c (working copy)
+@@ -1150,7 +1150,7 @@
+
+ if (doinfo)
+ {
+- mimesection = strtok(section,",");
++ mimesection = section ? strtok(section, ","):NULL;
+ do {
+ print_info(p, mimesection);
+ if (do_extract)