Kirill Rybalchenko 412f60a0e1 net/i40e: fix unsecure usage of strncpy function
Use more secure snprintf function instead of strncpy
to prevent memory access violation.

Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info")

Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
2017-10-26 02:33:01 +02:00
..
2017-10-06 02:49:48 +02:00
2017-10-26 02:33:01 +02:00
2017-10-06 18:23:25 +02:00