You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/05/11 21:19:33 UTC

[trafficserver] branch master updated: coverity 1200037: Uninitialized pointer field

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

zwoop 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  5badeb7   coverity 1200037: Uninitialized pointer field
5badeb7 is described below

commit 5badeb79206e12e4fbec6ab3d71fae9f029e9d26
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu May 11 14:14:30 2017 -0400

    coverity 1200037: Uninitialized pointer field
---
 lib/cppapi/GlobalPlugin.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cppapi/GlobalPlugin.cc b/lib/cppapi/GlobalPlugin.cc
index caeb01e..e8a2df8 100644
--- a/lib/cppapi/GlobalPlugin.cc
+++ b/lib/cppapi/GlobalPlugin.cc
@@ -33,7 +33,7 @@ using namespace atscppapi;
  * @private
  */
 struct atscppapi::GlobalPluginState : noncopyable {
-  TSCont cont_;
+  TSCont cont_ = nullptr;
   GlobalPlugin *global_plugin_;
   bool ignore_internal_transactions_;
 

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