[dpdk-dev] [PATCH v2] net/softnic: fix string copy

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Fri Nov 2 12:47:45 CET 2018



> -----Original Message-----
> From: Pattan, Reshma
> Sent: Wednesday, October 31, 2018 10:17 AM
> To: dev at dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Singh, Jasvinder
> <jasvinder.singh at intel.com>; Pattan, Reshma <reshma.pattan at intel.com>
> Subject: [PATCH v2] net/softnic: fix string copy
> 
> Use strlcpy instead of strcpy to avoid buffer overrun.
> 
> Coverity issues: 323475,323478,323514,323515
> 
> Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays")
> Fixes: c169b6a588 ("net/softnic: map flow attribute to pipeline table")
> CC: cristian.dumitrescu at intel.com
> CC: jasvinder.singh at intel.com
> 
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> ---
> v2: merge the below patches into single patch.
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied to next-pipeline tree, thanks!


More information about the dev mailing list