httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r708823 - /httpd/httpd/trunk/modules/generators/mod_cgid.c
Date Wed, 29 Oct 2008 08:27:01 GMT
Author: pquerna
Date: Wed Oct 29 01:27:01 2008
New Revision: 708823

URL: http://svn.apache.org/viewvc?rev=708823&view=rev
Log:
* modules/generators/mod_cgid.c
  (cgid_server): Fix warning: 'env' and 'argv0' may be used uninitialized in 
    this function.

Modified:
    httpd/httpd/trunk/modules/generators/mod_cgid.c

Modified: httpd/httpd/trunk/modules/generators/mod_cgid.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?rev=708823&r1=708822&r2=708823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_cgid.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_cgid.c Wed Oct 29 01:27:01 2008
@@ -634,8 +634,8 @@
 
     while (!daemon_should_exit) {
         int errfileno = STDERR_FILENO;
-        char *argv0;
-        char **env;
+        char *argv0 = NULL;
+        char **env = NULL;
         const char * const *argv;
         apr_int32_t in_pipe;
         apr_int32_t out_pipe;



Mime
View raw message