numam-dpdk/drivers/net/nfp
Andy Green 62280b7819 net/nfp: fix off-by-one and no nul on strncpy use
drivers/net/nfp/nfpcore/nfp_resource.c:76:2:error:
‘strncpy’ output may be truncated copying 8 bytes from a string of length 8
[-Werror=stringop-truncation]
  strncpy(name_pad, res->name, sizeof(name_pad));

Fixes: c7e9729da6 ("net/nfp: support CPP")

Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2018-05-14 23:32:23 +02:00
..
nfpcore net/nfp: fix off-by-one and no nul on strncpy use 2018-05-14 23:32:23 +02:00
Makefile net/nfp: use new CPP interface 2018-04-14 00:40:21 +02:00
nfp_net_ctrl.h net/nfp: support MAC address change 2018-04-27 15:54:55 +01:00
nfp_net_logs.h net/nfp: add newline in PMD_RX/TX_LOG macros 2018-04-27 18:00:57 +01:00
nfp_net_pmd.h net/nfp: support LSO offload version 2 2018-04-14 00:43:30 +02:00
nfp_net.c net/nfp: fix buffer overflow of FW strings 2018-05-14 23:32:23 +02:00
rte_pmd_nfp_version.map nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00