You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/07/14 19:01:12 UTC

git commit: TS-1475: assert that the authproxy state can't legitimately be NULL

Repository: trafficserver
Updated Branches:
  refs/heads/master da729cf50 -> 7d59957d4


TS-1475: assert that the authproxy state can't legitimately be NULL


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

Branch: refs/heads/master
Commit: 7d59957d439907995e9b3102113d328100e3905e
Parents: da729cf
Author: James Peach <jp...@apache.org>
Authored: Mon Jul 14 11:01:08 2014 -0600
Committer: James Peach <jp...@apache.org>
Committed: Mon Jul 14 11:01:08 2014 -0600

----------------------------------------------------------------------
 plugins/experimental/authproxy/authproxy.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7d59957d/plugins/experimental/authproxy/authproxy.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/authproxy/authproxy.cc b/plugins/experimental/authproxy/authproxy.cc
index a27614d..ef81a78 100644
--- a/plugins/experimental/authproxy/authproxy.cc
+++ b/plugins/experimental/authproxy/authproxy.cc
@@ -225,6 +225,7 @@ pump:
     }
 
     // If we don't have a handler, the state machine is borked.
+    TSReleaseAssert(s != NULL);
     TSReleaseAssert(s->handler != NULL);
 
     // Move to the next state. We have to set this *before* invoking the