trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1215553 - /trafficserver/traffic/trunk/proxy/InkAPITestTool.cc
Date Sat, 17 Dec 2011 18:47:19 GMT
Author: zwoop
Date: Sat Dec 17 18:47:19 2011
New Revision: 1215553

URL: http://svn.apache.org/viewvc?rev=1215553&view=rev
Log:
TS-992 Fix off by one error in sscanf for test tool

Author: Piotr Sikora
Review: Leif

Modified:
    trafficserver/traffic/trunk/proxy/InkAPITestTool.cc

Modified: trafficserver/traffic/trunk/proxy/InkAPITestTool.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/InkAPITestTool.cc?rev=1215553&r1=1215552&r2=1215553&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/InkAPITestTool.cc (original)
+++ trafficserver/traffic/trunk/proxy/InkAPITestTool.cc Sat Dec 17 18:47:19 2011
@@ -346,7 +346,7 @@ generate_response(const char *request)
   int test_case, match, http_version;
 
   char *response = (char *) TSmalloc(RESPONSE_MAX_SIZE + 1);
-  char url[1024];
+  char url[1025];
 
   // coverity[secure_coding]
   match = sscanf(request, HTTP_REQUEST_TESTCASE_FORMAT, url, &http_version, &test_case);



Mime
View raw message