From 49a4dea9cedc7d2c464c634857dacbd4d1439398 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 30 Oct 2000 01:35:21 +0000 Subject: Add a patch to address the known remote buffer overflow, from Mike Silbersack . Add a build- and install-time warning about the probable existence of further remote security problems, and remove FORBIDDEN. Submitted by: Mike Silbersack --- chinese/pine4/files/patch-bz | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 chinese/pine4/files/patch-bz (limited to 'chinese/pine4/files') diff --git a/chinese/pine4/files/patch-bz b/chinese/pine4/files/patch-bz new file mode 100644 index 000000000000..84b342953976 --- /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 : ""); -- cgit