From ca5f083e1f70b982ecaef2161a9a02bc5f18ccfc Mon Sep 17 00:00:00 2001 From: Kris Kennaway 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 --- mail/pine4/files/patch-ba | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mail/pine4/files/patch-ba (limited to 'mail/pine4/files/patch-ba') 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 : ""); -- cgit v1.2.3