[dpdk-dev] [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with strlcpy

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Fri May 11 18:38:05 CEST 2018



> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Reshma Pattan
> Sent: Wednesday, May 9, 2018 5:11 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; stable at dpdk.org; Zhang,
> Roy Fan <roy.fan.zhang at intel.com>; Pattan, Reshma
> <reshma.pattan at intel.com>
> Subject: [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with
> strlcpy
> 
> Use strlcpy instead of strncpy.
> Use strcpy where boundchecks on destination is not needed.
> 
> Fixes: 0d547ed037 ("examples/ipsec-secgw: support configuration file")
> Fixes: 07b156199f ("examples/ipsec-secgw: fix configuration string
> termination")
> Fixes: a1469c319f ("examples/ipsec-secgw: fix configuration parsing")
> Cc: stable at dpdk.org
> CC: Zhang,Roy Fan <roy.fan.zhang at intel.com>
> 
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list