You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/05/10 01:49:42 UTC

[trafficserver] branch master updated: Coverity 1021689 - Uninitialized pointer field

This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  adaf6af   Coverity 1021689 - Uninitialized pointer field
adaf6af is described below

commit adaf6af9dff8877dc2d464ac959b3c412458bbe9
Author: Steven Feltner <sf...@godaddy.com>
AuthorDate: Tue May 9 11:58:02 2017 -0700

    Coverity 1021689 - Uninitialized pointer field
---
 proxy/http/remap/RemapPlugins.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/proxy/http/remap/RemapPlugins.h b/proxy/http/remap/RemapPlugins.h
index e7c6dd9..8e133d4 100644
--- a/proxy/http/remap/RemapPlugins.h
+++ b/proxy/http/remap/RemapPlugins.h
@@ -75,11 +75,11 @@ struct RemapPlugins : public Continuation {
   Action action;
 
 private:
-  unsigned int _cur;
-  HttpTransact::State *_s;
-  URL *_request_url;
-  HTTPHdr *_request_header;
-  host_hdr_info *_hh_ptr;
+  unsigned int _cur        = 0;
+  HttpTransact::State *_s  = nullptr;
+  URL *_request_url        = nullptr;
+  HTTPHdr *_request_header = nullptr;
+  host_hdr_info *_hh_ptr   = nullptr;
 };
 
 #endif

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].