]> granicus.if.org Git - apache/commitdiff
Initialize len to 0, since for some logic paths it might be unset.
authorPaul Querna <pquerna@apache.org>
Tue, 1 Sep 2009 09:09:54 +0000 (09:09 +0000)
committerPaul Querna <pquerna@apache.org>
Tue, 1 Sep 2009 09:09:54 +0000 (09:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@809907 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index 7fb5e18f1717d45982eadcb67e42d9a1ce718365..3e96cb9de1d6ebe9b7db9a22f8108a2a1f098299 100644 (file)
@@ -102,7 +102,7 @@ static apr_status_t get_remaining_chunk_line(http_ctx_t *ctx,
     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