trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject svn commit: r1152061 - /trafficserver/traffic/trunk/proxy/InkAPI.cc
Date Fri, 29 Jul 2011 00:40:00 GMT
Author: bcall
Date: Fri Jul 29 00:39:59 2011
New Revision: 1152061

URL: http://svn.apache.org/viewvc?rev=1152061&view=rev
Log:
ignore coverity error

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

Modified: trafficserver/traffic/trunk/proxy/InkAPI.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/InkAPI.cc?rev=1152061&r1=1152060&r2=1152061&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/InkAPI.cc (original)
+++ trafficserver/traffic/trunk/proxy/InkAPI.cc Fri Jul 29 00:39:59 2011
@@ -1625,6 +1625,7 @@ api_init()
     // Setup the version string for returning to plugins
     ink_strncpy(traffic_server_version, appVersionInfo.VersionStr, sizeof(traffic_server_version));
     // Extract the elements.
+    // coverity[secure_coding]
     if (sscanf(traffic_server_version, "%d.%d.%d", &ts_major_version, &ts_minor_version,
&ts_patch_version) != 3) {
       Warning("Unable to parse traffic server version string '%s'\n", traffic_server_version);
     }



Mime
View raw message