summaryrefslogtreecommitdiff
path: root/net-mail/metamail/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-31 20:20:25 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-31 20:20:25 +0000
commitc4b414ba84991b36b62c066b701385eaf44cdd49 (patch)
tree5cbdb7a51f1abb965fdfe90b686f8130e100afaa /net-mail/metamail/files
parentea5bad4d0ba1eb937df22adb7f6cc57ea77f03d8 (diff)
gentoo auto-resync : 31:12:2022 - 20:20:25
Diffstat (limited to 'net-mail/metamail/files')
-rw-r--r--net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch40
-rw-r--r--net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch30
2 files changed, 0 insertions, 70 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
deleted file mode 100644
index 6572a514c37c..000000000000
--- a/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- 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
deleted file mode 100644
index 7da331adbbf8..000000000000
--- a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-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;
- }