From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5B4731C840; Fri, 11 May 2018 18:38:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 09:38:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,389,1520924400"; d="scan'208";a="54390412" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga001.fm.intel.com with ESMTP; 11 May 2018 09:38:06 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by irsmsx105.ger.corp.intel.com ([169.254.7.214]) with mapi id 14.03.0319.002; Fri, 11 May 2018 17:38:05 +0100 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "Richardson, Bruce" , "stable@dpdk.org" , "Zhang, Roy Fan" , "Pattan, Reshma" Thread-Topic: [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with strlcpy Thread-Index: AQHT57BoVX0qg1K6BkenKSCgpm2yCKQqvV/Q Date: Fri, 11 May 2018 16:38:05 +0000 Message-ID: References: <1525881417-30440-1-git-send-email-reshma.pattan@intel.com> <1525882266-2161-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1525882266-2161-1-git-send-email-reshma.pattan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDZiZGQwMGItNzg1Yi00OTFmLWI2MzktZWU5ZGViOTY5OWM4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjFWbVBBbWtETHVJMk1HS0IySFBnaEJsS0Y5cnVPdDhmVjF3VWNXblNPZjQ9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy with strlcpy X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 16:38:12 -0000 > -----Original Message----- > From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Wednesday, May 9, 2018 5:11 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; stable@dpdk.org; Zhan= g, > Roy Fan ; Pattan, Reshma > > Subject: [dpdk-stable] [PATCH v3] examples/ipsec-secgw: replace strncpy w= ith > strlcpy >=20 > Use strlcpy instead of strncpy. > Use strcpy where boundchecks on destination is not needed. >=20 > 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 >=20 > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara