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>
This commit is contained in:
@@ -1006,7 +1006,7 @@ define punt_socket_register {
|
|||||||
u8 is_ip4;
|
u8 is_ip4;
|
||||||
u8 l4_protocol;
|
u8 l4_protocol;
|
||||||
u16 l4_port;
|
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
|
define punt_socket_register_reply
|
||||||
|
Reference in New Issue
Block a user