You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2014/07/14 22:43:23 UTC
[03/11] git commit: TS-1475: Adding an assertion that buf cannot be
null in LogFilter
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/30da538f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/30da538f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/30da538f
Branch: refs/heads/master
Commit: 30da538f423759e87bad365cf6f03e56fd34fccf
Parents: 11a5b22
Author: Brian Geffon <br...@apache.org>
Authored: Mon Jul 14 10:19:03 2014 -0700
Committer: Phil Sorber <so...@apache.org>
Committed: Mon Jul 14 14:43:08 2014 -0600
----------------------------------------------------------------------
proxy/logging/LogFilter.cc | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/30da538f/proxy/logging/LogFilter.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFilter.cc b/proxy/logging/LogFilter.cc
index 9ae206c..0a42364 100644
--- a/proxy/logging/LogFilter.cc
+++ b/proxy/logging/LogFilter.cc
@@ -213,6 +213,8 @@ LogFilterString::wipe_this_entry(LogAccess * lad)
ink_assert(buf != NULL);
m_field->marshal(lad, buf);
+ ink_assert(buf != NULL);
+
bool cond_satisfied = false;
switch (m_operator) {
case MATCH: