www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David MacKenzie <...@va.pubnix.com>
Subject mod_cgi/2114: A variable declaration was removed incorrectly.
Date Wed, 22 Apr 1998 14:49:48 GMT

>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:     djm@va.pubnix.com
>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message