From 1c182be693dad5fb407d24735acc05d54d785858 Mon Sep 17 00:00:00 2001 From: krion Date: Sat, 21 Aug 2004 15:03:54 +0000 Subject: Fix security risk for setuid news programs. PR: ports/70773 Submitted by: maintainer --- news/fidogate-ds/files/patch-log.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 news/fidogate-ds/files/patch-log.c (limited to 'news/fidogate-ds/files') 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); + } -- cgit