aboutsummaryrefslogtreecommitdiffstats
path: root/news/fidogate-ds/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-21 23:03:54 +0800
committerkrion <krion@FreeBSD.org>2004-08-21 23:03:54 +0800
commit1c182be693dad5fb407d24735acc05d54d785858 (patch)
tree84a787015d5f488a966d86c0c32003d3e75a2a2c /news/fidogate-ds/files
parent9645af7e137285f9c1ad8ec0e20ab482d19c3d38 (diff)
downloadfreebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.tar.gz
freebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.tar.zst
freebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.zip
Fix security risk for setuid news programs.
PR: ports/70773 Submitted by: maintainer
Diffstat (limited to 'news/fidogate-ds/files')
-rw-r--r--news/fidogate-ds/files/patch-log.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/news/fidogate-ds/files/patch-log.c b/news/fidogate-ds/files/patch-log.c
new file mode 100644
index 000000000000..ec8ff0aa90bc
--- /dev/null
+++ b/news/fidogate-ds/files/patch-log.c
@@ -0,0 +1,12 @@
+--- src/common/log.c.old Sat Aug 21 17:21:16 2004
++++ src/common/log.c Sat Aug 21 17:21:24 2004
+@@ -276,9 +276,4 @@
+ char *p;
+
+ BUF_COPY(logprog, name);
+-
+- if( (p = getenv("LOGFILE")) )
+- log_file(p);
+- if( (p = getenv("FIDOGATE_LOGFILE")) )
+- log_file(p);
+ }