numam-dpdk/lib/librte_ethdev
Stephen Hemminger e97f83e452 ethdev: replace snprintf with strlcpy for owner
The set_port_owner was copying a string between structures of the
same type, therefore the name could never be truncated (unless source
string was not null terminated).  Use strlcpy which does it better.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-03-20 18:15:42 +01:00
..
2018-12-20 19:00:10 +01:00
2018-12-20 19:00:10 +01:00
2018-04-27 18:01:00 +01:00
2018-12-20 19:00:10 +01:00