trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject trafficserver git commit: Memory leak in Rule::socksParse(char*) when a token is missing the '=' sign. This closes #340
Date Tue, 17 Nov 2015 17:19:03 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 3de7c6fa9 -> 648e21574


Memory leak in Rule::socksParse(char*) when a token is missing the '=' sign. This closes #340


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

Branch: refs/heads/master
Commit: 648e215746369c069b9a5fde069dc750e8ee4f5b
Parents: 3de7c6f
Author: Can Selcik <cselcik@linkedin.com>
Authored: Tue Nov 17 09:18:47 2015 -0800
Committer: Brian Geffon <briang@apache.org>
Committed: Tue Nov 17 09:18:47 2015 -0800

----------------------------------------------------------------------
 mgmt/api/GenericParser.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/648e2157/mgmt/api/GenericParser.cc
----------------------------------------------------------------------
diff --git a/mgmt/api/GenericParser.cc b/mgmt/api/GenericParser.cc
index 66d18f4..770b2a6 100644
--- a/mgmt/api/GenericParser.cc
+++ b/mgmt/api/GenericParser.cc
@@ -623,6 +623,7 @@ Rule::socksParse(char *rule)
         // Every token must have a '=' sign
         if (numSubRuleTok < 2) {
           setErrorHint("'=' is expected in space-delimited token");
+          delete m_tokenList;
           return NULL;
         }
 


Mime
View raw message