You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2009/09/01 11:09:54 UTC

svn commit: r809907 - /httpd/httpd/trunk/modules/http/http_filters.c

Author: pquerna
Date: Tue Sep  1 09:09:54 2009
New Revision: 809907

URL: http://svn.apache.org/viewvc?rev=809907&view=rev
Log:
Initialize len to 0, since for some logic paths it might be unset.

Modified:
    httpd/httpd/trunk/modules/http/http_filters.c

Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_filters.c?rev=809907&r1=809906&r2=809907&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Tue Sep  1 09:09:54 2009
@@ -102,7 +102,7 @@
     apr_off_t brigade_length;
     apr_bucket *e;
     const char *lineend;
-    apr_size_t len;
+    apr_size_t len = 0;
 
     /*
      * As the brigade b should have been requested in mode AP_MODE_GETLINE