summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-04-10 13:43:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-04-10 13:43:53 +0000
commita3a385527007fa7af13ad3b16fa98e1d3335a6cb (patch)
treee6e9b35fdf8a785c7a95657c1ba8c81ee5aba182 /news
parentActivate security/libparanoia (diff)
don't include realname from passwd to Sender field, can contain illegal chars
Notes
Notes: svn path=/head/; revision=17757
Diffstat (limited to 'news')
-rw-r--r--news/tin/files/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/news/tin/files/patch-ac b/news/tin/files/patch-ac
new file mode 100644
index 000000000000..55509a63ecf2
--- /dev/null
+++ b/news/tin/files/patch-ac
@@ -0,0 +1,15 @@
+--- src/header.c.bak Mon Jan 25 16:49:49 1999
++++ src/header.c Sat Apr 10 17:30:31 1999
+@@ -338,10 +338,10 @@
+ static char sender[8192];
+
+ sender[0] = '\0';
+-
++#if 0 /* passwd name may contain illegal chars */
+ if ((ptr = get_full_name()))
+ sprintf(sender, "%s ", ptr);
+-
++#endif
+ if ((ptr = get_user_name())) {
+ strcat(sender, "<");
+ strcat(sender, ptr);