numam-dpdk/drivers/net/ena
John W. Linville 103bb1cc29 net/ena: improve safety of string handling
Use sizeof dest rather than sizeof src for limiting copy length,
and replace strncpy with snprintf to ensure NULL termination.

Coverity issue: 127795
Fixes: 372c1af5ed ("net/ena: add dedicated memory area for extra device info")

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2016-10-13 15:30:59 +02:00
..
base net/ena: fix icc build 2016-07-22 00:42:10 +02:00
ena_ethdev.c net/ena: improve safety of string handling 2016-10-13 15:30:59 +02:00
ena_ethdev.h net/ena: disable readless communication when no HW support 2016-07-08 15:19:40 +02:00
ena_logs.h ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
ena_platform.h ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
Makefile mk: cleanup leftover references to malloc library 2016-05-06 15:51:22 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00