From e2293addc189dcb67fd1e584a988f38c450cd9cf Mon Sep 17 00:00:00 2001 From: Johan Zetterlund Date: Fri, 12 Jan 2024 13:09:44 +0100 Subject: [PATCH] Correct Coverity warning 35146 only for version 3.7.0 This has been reworked in version 3.9.0 so only needed now. --- include/netlink-private/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netlink-private/utils.h b/include/netlink-private/utils.h index 93a04c947..b884f9a67 100644 --- a/include/netlink-private/utils.h +++ b/include/netlink-private/utils.h @@ -362,7 +362,7 @@ typedef union { } _NLIPAddr; static inline char *_nl_inet_ntop(int addr_family, const void *addr, - char buf[static INET_ADDRSTRLEN]) + char buf[static INET6_ADDRSTRLEN]) { char *r;