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/16 05:12:49 UTC
[08/14] git commit: TS-1475: Coverity 1021657 - fix use after free.
TS-1475: Coverity 1021657 - fix use after free.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b143adc1
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b143adc1
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b143adc1
Branch: refs/heads/master
Commit: b143adc193d6c198d29b603f4b0a50030674959e
Parents: 8cf2e5a
Author: Jeff Elsloo <je...@cable.comcast.com>
Authored: Tue Jul 15 14:24:12 2014 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Tue Jul 15 21:11:38 2014 -0600
----------------------------------------------------------------------
iocore/cluster/ClusterAPI.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b143adc1/iocore/cluster/ClusterAPI.cc
----------------------------------------------------------------------
diff --git a/iocore/cluster/ClusterAPI.cc b/iocore/cluster/ClusterAPI.cc
index 9a9ddaa..d2e07ab 100644
--- a/iocore/cluster/ClusterAPI.cc
+++ b/iocore/cluster/ClusterAPI.cc
@@ -564,9 +564,9 @@ TSSendClusterRPC(TSNodeHandle_t * nh, TSClusterRPCMsg_t * msg)
int len = c->len - sizeof(OutgoingControl *);
ink_release_assert((size_t) len >= sizeof(TSClusterRPCMsg_t));
+ Debug("cluster_api", "TSSendClusterRPC: msg %p dlen %d [%u.%u.%u.%u] sent", msg, len, DOT_SEPARATED(ipaddr.s_addr));
clusterProcessor.invoke_remote(m->pop_ClusterHandler(), rpch->u.internal.cluster_function,
msg, len, (CLUSTER_OPT_STEAL | CLUSTER_OPT_DATA_IS_OCONTROL));
- Debug("cluster_api", "TSSendClusterRPC: msg %p dlen %d [%u.%u.%u.%u] sent", msg, len, DOT_SEPARATED(ipaddr.s_addr));
} else {
Debug("cluster_api", "TSSendClusterRPC: msg %p to [%u.%u.%u.%u] dropped", msg, DOT_SEPARATED(ipaddr.s_addr));
c->freeall();