[dpdk-dev] [PATCH] net/i40e: fix unsecure usage of strncpy function

Bruce Richardson bruce.richardson at intel.com
Tue Oct 24 11:50:32 CEST 2017


On Tue, Oct 24, 2017 at 10:22:38AM +0100, Kirill Rybalchenko wrote:
> 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 at intel.com>

Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list