trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [49/52] [abbrv] git commit: TS-2092 Use of uninitialized member in HdrHeap.
Date Sat, 03 Aug 2013 20:51:58 GMT
TS-2092 Use of uninitialized member in HdrHeap.


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

Branch: refs/heads/3.3.x
Commit: 4651ca76daeebceb43d2a2c9b899d2faa75ba8aa
Parents: 94e9830
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Sat Aug 3 01:13:52 2013 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Sat Aug 3 01:13:57 2013 -0600

----------------------------------------------------------------------
 CHANGES               | 3 +++
 proxy/hdrs/HdrHeap.cc | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4651ca76/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index c8fde03..8a54291 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.3.5
   
+
+  *) [TS-2092] Use of uninitialized member in HdrHeap.
+
   *) [TS-2052] ET_SSL thread spinning
    Author: Can Selcik <cselcik at linkedin.com>
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4651ca76/proxy/hdrs/HdrHeap.cc
----------------------------------------------------------------------
diff --git a/proxy/hdrs/HdrHeap.cc b/proxy/hdrs/HdrHeap.cc
index 9f6f187..6bcd06b 100644
--- a/proxy/hdrs/HdrHeap.cc
+++ b/proxy/hdrs/HdrHeap.cc
@@ -105,6 +105,7 @@ HdrHeap::init()
     m_ronly_heap[i].m_heap_start = NULL;
     m_ronly_heap[i].m_ref_count_ptr.m_ptr = NULL;
     m_ronly_heap[i].m_locked = false;
+    m_ronly_heap[i].m_heap_len = 0;
   }
   m_lost_string_space = 0;
 


Mime
View raw message