Hi Stephen,
On Mon, Mar 19, 2018 at 10:52:12AM -0700, Stephen Hemminger wrote:
> [dpdk-dev] [PATCH 1/2] rte_mempool: fix strncpy warnings
The title should be prefixed by "mbuf:" instead of "rte_mempool:"
> Gcc-8 discovers issue with platform_mempool_ops.
> rt
Gcc-8 discovers issue with platform_mempool_ops.
rte_mbuf_pool_ops.c:26:3: error: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Werror=stringop-truncation]
strncpy(mz->addr, ops_name, strlen(ops_name));
The issue is that the size shoul
2 matches
Mail list logo