On 3/1/19 1:47 AM, Stephen Hemminger wrote:
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
Acked-by: An
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
---
lib/librte_ethdev/rte_ethdev.c | 8 ++--
1 file cha
2 matches
Mail list logo