From: Ole Troan Date: Thu, 7 Sep 2017 08:04:41 +0000 (+0200) Subject: Punt socket: Fix coverity error for pathname length mismatch between API and sun_path. X-Git-Tag: v17.10-rc1~124 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=4802632dd1da02c021af99a179264f4a9a163f36 Punt socket: Fix coverity error for pathname length mismatch between API and sun_path. Change-Id: I69d67707540e075afe7bad0a70e57d9d80b1bc8e Signed-off-by: Ole Troan --- diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api index 0dee1533952..eda95ce57f7 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