You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2017/05/11 20:55:00 UTC
[trafficserver] branch master updated: coverity 1200036:
Uninitialized pointer field
This is an automated email from the ASF dual-hosted git repository.
bcall 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 1dc4375 coverity 1200036: Uninitialized pointer field
1dc4375 is described below
commit 1dc437581a37e991a466a9490fd89922b07cfd72
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu May 11 14:16:16 2017 -0400
coverity 1200036: Uninitialized pointer field
---
lib/cppapi/TransactionPlugin.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cppapi/TransactionPlugin.cc b/lib/cppapi/TransactionPlugin.cc
index 29f5fc9..017d2c1 100644
--- a/lib/cppapi/TransactionPlugin.cc
+++ b/lib/cppapi/TransactionPlugin.cc
@@ -37,7 +37,7 @@ using atscppapi::TransactionPlugin;
* @private
*/
struct atscppapi::TransactionPluginState : noncopyable {
- TSCont cont_;
+ TSCont cont_ = nullptr;
TSHttpTxn ats_txn_handle_;
std::shared_ptr<Mutex> mutex_;
TransactionPluginState(TSHttpTxn ats_txn_handle) : ats_txn_handle_(ats_txn_handle), mutex_(new Mutex(Mutex::TYPE_RECURSIVE)) {}
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].