diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/metamail/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/metamail/files')
-rw-r--r-- | net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch | 40 | ||||
-rw-r--r-- | net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch | 30 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch b/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch new file mode 100644 index 000000000000..6572a514c37c --- /dev/null +++ b/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch @@ -0,0 +1,40 @@ +--- src/src/metamail/metamail.c.old 2006-03-14 10:13:35.000000000 -0800 ++++ src/src/metamail/metamail.c 2006-03-14 10:11:52.000000000 -0800 +@@ -313,7 +313,7 @@ + WroteSquirrelFile = 0; + } + LineBuf = XMALLOC(char, LINE_BUF_SIZE); +- sprintf(LineBuf, "--%s", boundary); ++ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary); + strcpy(boundary, LineBuf); + boundarylen = strlen(boundary); + if (BoundaryCt >= BoundaryAlloc) { +@@ -1712,7 +1712,7 @@ + if (boundary[0] == '"') { + boundary=UnquoteString(boundary); + } +- sprintf(LineBuf, "--%s", boundary); ++ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary); + strcpy(boundary, LineBuf); + boundarylen = strlen(boundary); + if (BoundaryCt >= BoundaryAlloc) { +--- src/metamail/metamail.c.old 2006-03-14 10:12:39.000000000 -0800 ++++ src/metamail/metamail.c 2006-03-14 10:14:53.000000000 -0800 +@@ -445,7 +445,7 @@ + } + LineBuf = malloc(LINE_BUF_SIZE); + if (!LineBuf) ExitWithError(nomem); +- sprintf(LineBuf, "--%s", boundary); ++ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary); + strcpy(boundary, LineBuf); + boundarylen = strlen(boundary); + if (BoundaryCt >= BoundaryAlloc) { +@@ -2115,7 +2115,7 @@ + if (boundary[0] == '"') { + boundary=UnquoteString(boundary); + } +- sprintf(LineBuf, "--%s", boundary); ++ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary); + strcpy(boundary, LineBuf); + boundarylen = strlen(boundary); + if (BoundaryCt >= BoundaryAlloc) { diff --git a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch new file mode 100644 index 000000000000..7da331adbbf8 --- /dev/null +++ b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch @@ -0,0 +1,30 @@ +diff -ur mm2.7.orig/src/metamail/uue.c mm2.7/src/metamail/uue.c +--- mm2.7.orig/src/metamail/uue.c 1993-07-28 21:31:02.000000000 +0300 ++++ mm2.7/src/metamail/uue.c 2009-08-07 12:09:35.000000000 +0300 +@@ -30,7 +30,7 @@ + } + + +-getline (buf, size, fp) ++get_line (buf, size, fp) + char *buf; + int size; + FILE *fp; +@@ -70,7 +70,7 @@ + char buf[63]; + + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } +@@ -82,7 +82,7 @@ + } + } + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } |