www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@locus.apache.org
Subject [Bug 46] New - log file fd passed to CGI programs
Date Wed, 26 Apr 2000 22:12:37 GMT

--- shadow/46	Wed Apr 26 15:12:37 2000
+++ shadow/46.tmp.815	Wed Apr 26 15:12:37 2000
@@ -0,0 +1,24 @@
+Bug#: 46
+Product: httpd
+Version: 2.0a
+Platform: All
+OS/Version: All
+Status: NEW   
+Priority: medium
+Component: mod_log-any
+AssignedTo: apache@apache.org                            
+ReportedBy: mja@sgi.com               
+Summary: log file fd passed to CGI programs
+The fd for mod_log_config's log file is kept open and passed to
+CGI programs.  Looks like all three implementations of ap_open()
+pass ap_null_cleanup as the child cleanup for the newly opened
+fd.  In 1.3 ap_popenf() registered a child cleanup which closed
+the fd before exec.
+Proposal:  make ap_open() register a child cleanup (may be too
+general, prohibits intentionally preserving open files across exec)
+or make log_config register a cleanup for the log file fd.

View raw message