From c4b414ba84991b36b62c066b701385eaf44cdd49 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 31 Dec 2022 20:20:25 +0000 Subject: gentoo auto-resync : 31:12:2022 - 20:20:25 --- .../files/metamail-2.7.45.3-CVE-2006-0709.patch | 40 ---------------------- .../files/metamail-2.7.53.3-glibc-2.10.patch | 30 ---------------- 2 files changed, 70 deletions(-) delete mode 100644 net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch delete mode 100644 net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch (limited to 'net-mail/metamail/files') 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; - } -- cgit v1.2.3