aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-09-07 10:04:41 +0200
committerChris Luke <chris_luke@comcast.com>2017-09-07 10:54:02 +0000
commit4802632dd1da02c021af99a179264f4a9a163f36 (patch)
tree8fec0a6434a4a5a738f4e722f6f375326f12e211 /src
parent70ec09dfab8fc0ab5666cd9073f25e025400e5f4 (diff)
Punt socket: Fix coverity error for pathname length mismatch between API and sun_path.
Change-Id: I69d67707540e075afe7bad0a70e57d9d80b1bc8e Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/vpe.api2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api
index 0dee1533..eda95ce5 100644
--- a/src/vpp/api/vpe.api
+++ b/src/vpp/api/vpe.api
@@ -1006,7 +1006,7 @@ define punt_socket_register {
u8 is_ip4;
u8 l4_protocol;
u16 l4_port;
- u8 pathname[64];
+ u8 pathname[108]; /* Linux sun_path defined to be 108 bytes, see unix(7) */
};
define punt_socket_register_reply