[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#683544: thttpd: CGI output to stderr is discarded

Package: thttpd
Version: 2.25b-11
Severity: normal

Dear Maintainer,

Since Debian version 2.25b-11, thttpd discards the stderr of CGI scripts:

  * When running CGI scripts send STDERR to /dev/null.  (Closes: #437927)

Bug #437927 was about stderr sent to the client, which is clearly wrong, but
discarding it is frequently wrong too. I suggest using fileno(hs->logfp) to
send it to the log, like Apache httpd.


  Nicolas George

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages thttpd depends on:
ii  libc6  2.13-33

Versions of packages thttpd recommends:
ii  logrotate  3.8.1-4

Versions of packages thttpd suggests:
ii  thttpd-util  2.25b-11

-- no debconf information

Reply to: