trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: TS-3498 Fix req_header initialization. This fixes coverity #1293329
Date Mon, 06 Apr 2015 13:23:32 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 4f354f0fa -> 243f6e47d


TS-3498 Fix req_header initialization. This fixes coverity #1293329


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

Branch: refs/heads/master
Commit: 243f6e47dbff366b93beb45cc8d8a68e57ab2988
Parents: 4f354f0
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Mon Apr 6 07:22:20 2015 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Mon Apr 6 07:22:20 2015 -0600

----------------------------------------------------------------------
 proxy/http2/Http2ClientSession.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/243f6e47/proxy/http2/Http2ClientSession.h
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h
index 21f8476..814ab5b 100644
--- a/proxy/http2/Http2ClientSession.h
+++ b/proxy/http2/Http2ClientSession.h
@@ -43,7 +43,7 @@ static size_t const HTTP2_HEADER_BUFFER_SIZE_INDEX = CLIENT_CONNECTION_FIRST_REA
 
 // To support Upgrade: h2c
 struct Http2UpgradeContext {
-  Http2UpgradeContext() { }
+  Http2UpgradeContext() : req_header(NULL) { }
 
   ~Http2UpgradeContext()
   {


Mime
View raw message