You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by br...@apache.org on 2014/07/15 00:50:44 UTC

git commit: TS-1475: Fixing issue that might dereference a NULL pointer. Coverity #1021649

Repository: trafficserver
Updated Branches:
  refs/heads/master 496615f3b -> 2e50aeaf4


TS-1475: Fixing issue that might dereference a NULL pointer. Coverity #1021649


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

Branch: refs/heads/master
Commit: 2e50aeaf4e683c7d35887b55e3d43cb8ff117f71
Parents: 496615f
Author: Brian Geffon <br...@apache.org>
Authored: Mon Jul 14 15:50:04 2014 -0700
Committer: Brian Geffon <br...@apache.org>
Committed: Mon Jul 14 15:50:21 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2e50aeaf/plugins/experimental/authproxy/authproxy.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/authproxy/authproxy.cc b/plugins/experimental/authproxy/authproxy.cc
index ef81a78..fb5f354 100644
--- a/plugins/experimental/authproxy/authproxy.cc
+++ b/plugins/experimental/authproxy/authproxy.cc
@@ -243,6 +243,7 @@ pump:
     // If there are no more states, the state machine has terminated.
     if (auth->state == NULL) {
         AuthRequestContext::destroy(auth);
+        return TS_EVENT_NONE;
     }
 
     // If the handler gave us an event, pump the it back into the current state