summaryrefslogtreecommitdiff
path: root/mail/pine4/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-10-30 01:35:21 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-10-30 01:35:21 +0000
commitca5f083e1f70b982ecaef2161a9a02bc5f18ccfc (patch)
tree691ebc47adb0020eb41952d759a76abcf62c94f0 /mail/pine4/files
parentUpdate MASTER_SITES and add NO_LATEST_LINK=yes to facilitate use of KDE2. (diff)
Add a patch to address the known remote buffer overflow, from
Mike Silbersack <silby@silby.com>. Add a build- and install-time warning about the probable existence of further remote security problems, and remove FORBIDDEN. Submitted by: Mike Silbersack <silby@silby.com>
Notes
Notes: svn path=/head/; revision=34434
Diffstat (limited to 'mail/pine4/files')
-rw-r--r--mail/pine4/files/patch-ba20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/pine4/files/patch-ba b/mail/pine4/files/patch-ba
new file mode 100644
index 000000000000..84b342953976
--- /dev/null
+++ b/mail/pine4/files/patch-ba
@@ -0,0 +1,20 @@
+*** pine/newmail.c.orig Mon Sep 25 15:07:01 2000
+--- pine/newmail.c Tue Sep 26 15:34:24 2000
+***************
+*** 342,348 ****
+ e->from->personal, NULL),
+ ps_global->ttyo->screen_cols);
+ else
+! sprintf(from + ((number > 1L) ? 18 : 6), "%s%s%s",
+ e->from->mailbox,
+ e->from->host ? "@" : "",
+ e->from->host ? e->from->host : "");
+--- 342,349 ----
+ e->from->personal, NULL),
+ ps_global->ttyo->screen_cols);
+ else
+! snprintf(from + ((number > 1L) ? 18 : 6), sizeof(from) - strlen(from),
+! "%s%s%s",
+ e->from->mailbox,
+ e->from->host ? "@" : "",
+ e->from->host ? e->from->host : "");