Repository: trafficserver
Updated Branches:
  refs/heads/master 83bd4c3c9 -> 209fd85c7


TS-1475: Adding an assertion that buf cannot be null in LogFilter


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

Branch: refs/heads/master
Commit: 209fd85c75abe5981cabcd08d147985ba6bb2b30
Parents: 83bd4c3
Author: Brian Geffon <[email protected]>
Authored: Mon Jul 14 10:19:03 2014 -0700
Committer: Brian Geffon <[email protected]>
Committed: Mon Jul 14 10:19:09 2014 -0700

----------------------------------------------------------------------
 proxy/logging/LogFilter.cc | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/209fd85c/proxy/logging/LogFilter.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFilter.cc b/proxy/logging/LogFilter.cc
index 6914745..d02b104 100644
--- a/proxy/logging/LogFilter.cc
+++ b/proxy/logging/LogFilter.cc
@@ -215,6 +215,8 @@ LogFilterString::wipe_this_entry(LogAccess * lad)
 
   m_field->marshal(lad, buf);
 
+  ink_assert(buf != NULL);
+
   bool cond_satisfied = false;
   switch (m_operator) {
   case MATCH:

Reply via email to