summaryrefslogtreecommitdiffstats
path: root/chinese/pine4/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-10-30 01:35:21 +0000
committerkris <kris@FreeBSD.org>2000-10-30 01:35:21 +0000
commit49a4dea9cedc7d2c464c634857dacbd4d1439398 (patch)
tree6b6cd0e94c8d67c913765d3455833f15712ea248 /chinese/pine4/files
parent1d983fc22e81e0b40ef01f074884387251486b7c (diff)
downloadFreeBSD-ports-49a4dea9cedc7d2c464c634857dacbd4d1439398.zip
FreeBSD-ports-49a4dea9cedc7d2c464c634857dacbd4d1439398.tar.gz
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>
Diffstat (limited to 'chinese/pine4/files')
-rw-r--r--chinese/pine4/files/patch-bz20
1 files changed, 20 insertions, 0 deletions
diff --git a/chinese/pine4/files/patch-bz b/chinese/pine4/files/patch-bz
new file mode 100644
index 0000000..84b3429
--- /dev/null
+++ b/chinese/pine4/files/patch-bz
@@ -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 : "");
OpenPOWER on IntegriCloud