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 A366A1B435 for ; Fri, 2 Nov 2018 12:47:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 04:47:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,455,1534834800"; d="scan'208";a="246472696" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga004.jf.intel.com with ESMTP; 02 Nov 2018 04:47:46 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.101]) by IRSMSX107.ger.corp.intel.com ([169.254.10.79]) with mapi id 14.03.0415.000; Fri, 2 Nov 2018 11:47:45 +0000 From: "Dumitrescu, Cristian" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "Singh, Jasvinder" Thread-Topic: [PATCH v2] net/softnic: fix string copy Thread-Index: AQHUcQLoIQOM9iTOXk2G2Om5MOL0uaU8YaXA Date: Fri, 2 Nov 2018 11:47:45 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891268E7F1F9D@IRSMSX108.ger.corp.intel.com> References: <1540909372-23110-1-git-send-email-reshma.pattan@intel.com> <1540981019-26174-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1540981019-26174-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTZkZDk1N2ItZmJlYi00ZjBjLTgzNDQtYTA4ODk0MjdmZTM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVUZyeFwvaWNKNnB2WUdwZ0JcL0xZaDlVbzVBck9iUUM4WnAwOVhnVGVGemRhQXNxcHAxRGhDcjFteHZ0ZFJuYXJtIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/softnic: fix string copy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 11:47:48 -0000 > -----Original Message----- > From: Pattan, Reshma > Sent: Wednesday, October 31, 2018 10:17 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Singh, Jasvinde= r > ; Pattan, Reshma > Subject: [PATCH v2] net/softnic: fix string copy >=20 > Use strlcpy instead of strcpy to avoid buffer overrun. >=20 > Coverity issues: 323475,323478,323514,323515 >=20 > Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") > Fixes: c169b6a588 ("net/softnic: map flow attribute to pipeline table") > CC: cristian.dumitrescu@intel.com > CC: jasvinder.singh@intel.com >=20 > Signed-off-by: Reshma Pattan > --- > v2: merge the below patches into single patch. >=20 Acked-by: Cristian Dumitrescu Applied to next-pipeline tree, thanks!