* [gentoo-commits] gentoo-x86 commit in mail-filter/maildrop/files: maildrop-2.5.4-reformime.patch
@ 2011-09-05 18:41 Eray Aslan (eras)
0 siblings, 0 replies; 4+ messages in thread
From: Eray Aslan (eras) @ 2011-09-05 18:41 UTC (permalink / raw
To: gentoo-commits
eras 11/09/05 18:41:46
Modified: maildrop-2.5.4-reformime.patch
Log:
Revized patch for bug #379101
(Portage version: 2.1.10.13/cvs/Linux x86_64)
Revision Changes Path
1.3 mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?r1=1.2&r2=1.3
Index: maildrop-2.5.4-reformime.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maildrop-2.5.4-reformime.patch 31 Aug 2011 16:30:32 -0000 1.2
+++ maildrop-2.5.4-reformime.patch 5 Sep 2011 18:41:45 -0000 1.3
@@ -1,4 +1,4 @@
-some arches put argv into readonly memory - bug #379101
+Fixes segfault on some arches - bug #379101
Index: rfc2045/reformime.c
===================================================================
--- rfc2045/reformime.c (revision 102)
@@ -14,9 +14,9 @@
doinfo=1;
Index: rfc2045/reformime.c
===================================================================
---- rfc2045/reformime.c (revision 137)
+--- rfc2045/reformime.c (revision 141)
+++ rfc2045/reformime.c (working copy)
-@@ -1150,7 +1150,7 @@
+@@ -1150,14 +1150,15 @@
if (doinfo)
{
@@ -25,3 +25,12 @@
do {
print_info(p, mimesection);
if (do_extract)
+ extract_section(p, mimesection,
+ extract_filename, argc-argn,
+ argv+argn, do_extract);
+- mimesection = strtok(NULL,",");
++ if (mimesection)
++ mimesection = strtok(NULL,",");
+ } while (mimesection != NULL);
+ }
+ else if (dodecode)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in mail-filter/maildrop/files: maildrop-2.5.4-reformime.patch
@ 2012-12-04 12:09 Eray Aslan (eras)
0 siblings, 0 replies; 4+ messages in thread
From: Eray Aslan (eras) @ 2012-12-04 12:09 UTC (permalink / raw
To: gentoo-commits
eras 12/12/04 12:09:40
Removed: maildrop-2.5.4-reformime.patch
Log:
remove old
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in mail-filter/maildrop/files: maildrop-2.5.4-reformime.patch
@ 2011-08-31 16:30 Eray Aslan (eras)
0 siblings, 0 replies; 4+ messages in thread
From: Eray Aslan (eras) @ 2011-08-31 16:30 UTC (permalink / raw
To: gentoo-commits
eras 11/08/31 16:30:32
Modified: maildrop-2.5.4-reformime.patch
Log:
Fix segfault in reformime - bug #379101. Take two
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Revision Changes Path
1.2 mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?r1=1.1&r2=1.2
Index: maildrop-2.5.4-reformime.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maildrop-2.5.4-reformime.patch 15 Aug 2011 07:23:57 -0000 1.1
+++ maildrop-2.5.4-reformime.patch 31 Aug 2011 16:30:32 -0000 1.2
@@ -12,3 +12,16 @@
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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in mail-filter/maildrop/files: maildrop-2.5.4-reformime.patch
@ 2011-08-15 7:23 Eray Aslan (eras)
0 siblings, 0 replies; 4+ messages in thread
From: Eray Aslan (eras) @ 2011-08-15 7:23 UTC (permalink / raw
To: gentoo-commits
eras 11/08/15 07:23:57
Added: maildrop-2.5.4-reformime.patch
Log:
Fix segfault in reformime on some arches - bug #379101
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Revision Changes Path
1.1 mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/files/maildrop-2.5.4-reformime.patch?rev=1.1&content-type=text/plain
Index: maildrop-2.5.4-reformime.patch
===================================================================
some arches put argv into readonly memory - bug #379101
Index: rfc2045/reformime.c
===================================================================
--- rfc2045/reformime.c (revision 102)
+++ rfc2045/reformime.c (working copy)
@@ -996,7 +996,7 @@
case 's':
if (!optarg && argn < argc)
optarg=argv[argn++];
- if (optarg && *optarg) section=optarg;
+ if (optarg && *optarg) section=strdup(optarg);
break;
case 'i':
doinfo=1;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-04 12:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 18:41 [gentoo-commits] gentoo-x86 commit in mail-filter/maildrop/files: maildrop-2.5.4-reformime.patch Eray Aslan (eras)
-- strict thread matches above, loose matches on Subject: below --
2012-12-04 12:09 Eray Aslan (eras)
2011-08-31 16:30 Eray Aslan (eras)
2011-08-15 7:23 Eray Aslan (eras)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox