From ad91a8e61c368fb13beb3a3100d84301fbf71dd4 Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Tue, 23 May 2017 17:59:06 +0000 Subject: datapath-windows: Remove Strsafe usage from datapath The removal is mandatory to use the VStudio 2013 static code analyzer. The only function that was used from the include is: 'StringCbLengthA'. We were not checking the result of that function, nor will the 'vportGet->name' exceed the 'OVS_MAX_PORT_NAME_LENGTH' limitation. Signed-off-by: Alin Gabriel Serdean Acked-By: Anand Kumar Signed-off-by: Gurucharan Shetty --- datapath-windows/ovsext/Netlink/NetlinkBuf.c | 1 - 1 file changed, 1 deletion(-) (limited to 'datapath-windows/ovsext/Netlink') diff --git a/datapath-windows/ovsext/Netlink/NetlinkBuf.c b/datapath-windows/ovsext/Netlink/NetlinkBuf.c index 0177e8803..639b6e50d 100644 --- a/datapath-windows/ovsext/Netlink/NetlinkBuf.c +++ b/datapath-windows/ovsext/Netlink/NetlinkBuf.c @@ -40,7 +40,6 @@ #include #include #include -#include #ifdef OVS_DBG_MOD #undef OVS_DBG_MOD -- cgit v1.2.1