trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/2] trafficserver git commit: Initialize the HttpTunnel.postbuf to NULL. I'm not sure why this isn't causing problems in areas where it seems to expect it to be NULL already before allocating it...
Date Wed, 07 Jan 2015 20:52:47 GMT
Initialize the HttpTunnel.postbuf to NULL. I'm not sure why this
isn't causing problems in areas where it seems to expect it to be
NULL already before allocating it...

Coverity CID #1021691


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4105381e
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4105381e
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4105381e

Branch: refs/heads/master
Commit: 4105381e78ca0e65551a409520c63190f6ba5199
Parents: d487bb0
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Wed Jan 7 13:36:35 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Wed Jan 7 13:52:33 2015 -0700

----------------------------------------------------------------------
 proxy/http/HttpTunnel.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4105381e/proxy/http/HttpTunnel.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTunnel.cc b/proxy/http/HttpTunnel.cc
index ac15a02..a043b63 100644
--- a/proxy/http/HttpTunnel.cc
+++ b/proxy/http/HttpTunnel.cc
@@ -463,7 +463,7 @@ HttpTunnelConsumer::HttpTunnelConsumer()
 }
 
 HttpTunnel::HttpTunnel()
-  : Continuation(NULL), num_producers(0), num_consumers(0), sm(NULL), active(false)
+  : Continuation(NULL), num_producers(0), num_consumers(0), sm(NULL), active(false), postbuf(NULL)
 {
 }
 


Mime
View raw message