trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [trafficserver] branch master updated: Coverity 1021689 - Uninitialized pointer field
Date Wed, 10 May 2017 01:49:42 GMT
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 <sfeltner@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" <commits@trafficserver.apache.org>'].

Mime
View raw message