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

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 24 20:12:59 CEST 2017


On 10/24/2017 2:50 AM, Bruce Richardson wrote:
> 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>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list