From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with strlcpy Date: Sun, 13 May 2018 23:52:57 +0200 Message-ID: <3801988.GgUVTGUmNi@xps> References: <1525881417-30440-1-git-send-email-reshma.pattan@intel.com> <1525882266-2161-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, "De Lara Guarch, Pablo" , "dev@dpdk.org" , "Richardson, Bruce" , "Zhang, Roy Fan" To: "Pattan, Reshma" Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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@dpdk.org > > CC: Zhang,Roy Fan > > > > Signed-off-by: Reshma Pattan > > Acked-by: Pablo de Lara Applied, thanks