summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorklm1998-03-08 05:15:59 +0000
committerklm1998-03-08 05:15:59 +0000
commitb3d3ac4188478cd0299d67e9f8fcaff1b6fe1e6e (patch)
treebae60f2fa0ce420398c1ba5bdd82341fd2389273 /cgi
parent992b93588ae8af3f60f36b2cd3b79a6622e71b27 (diff)
downloadmailman-b3d3ac4188478cd0299d67e9f8fcaff1b6fe1e6e.tar.gz
mailman-b3d3ac4188478cd0299d67e9f8fcaff1b6fe1e6e.tar.zst
mailman-b3d3ac4188478cd0299d67e9f8fcaff1b6fe1e6e.zip
Remove gratuitous use of arbitrary file for logging problems -
would bomb the program if the file preexisted and was not writable. Perhaps spewing to stderr broaches security somehow, dunno, but the compromise was not a compromise...
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/listinfo2
1 files changed, 0 insertions, 2 deletions
diff --git a/cgi/listinfo b/cgi/listinfo
index 455de3854..e8acf0113 100755
--- a/cgi/listinfo
+++ b/cgi/listinfo
@@ -2,8 +2,6 @@
# We don't need to lock in this script, because we're never going to change data.
import sys, os, string
-f = open('/tmp/listinfo.err', 'a+')
-sys.stderr = f #sys.stdout
from regsub import gsub
sys.path.append('/home/mailman/mailman/modules')
import mm_utils, maillist, htmlformat