>Number: 2114
>Category: mod_cgi
>Synopsis: A variable declaration was removed incorrectly.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Apr 22 07:50:01 PDT 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3b6
>Environment:
any
>Description:
If you #define DEBUG_CGI, you'll get an undefined symbol, because the
declaration for the variable 'nph' was removed in 1.3.
>How-To-Repeat:
Try compiling with #define DEBUG_CGI.
>Fix:
In this code:
#ifdef DEBUG_CGI
fprintf(dbg, "Attempting to exec %s as %sCGI child (argv0 = %s)\n",
r->filename, nph ? "NPH " : "", argv0);
#endif
change "nph" to "cld->nph".
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]