From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 600E31B28B; Fri, 26 Jan 2018 15:49:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2018 06:49:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,416,1511856000"; d="scan'208";a="25678517" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 26 Jan 2018 06:49:41 -0800 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 14:49:41 +0000 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.197]) by irsmsx111.ger.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0319.002; Fri, 26 Jan 2018 14:49:40 +0000 From: "Richardson, Bruce" To: "De Lara Guarch, Pablo" , "Zhang, Roy Fan" CC: "dev@dpdk.org" , "De Lara Guarch, Pablo" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] crypto/scheduler: fix strncpy length Thread-Index: AQHTlrQ/yN7tG9NKi0S7NgmwKUbHL6OGPCew Date: Fri, 26 Jan 2018 14:49:40 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B07223CBF2@IRSMSX103.ger.corp.intel.com> References: <20180126144428.13154-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20180126144428.13154-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjk1ZGMzMmMtZmY3OS00YzhkLWJmZjYtYzJiZWE3YjIwMGYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InNDSXcwTytGTU5TV1lDK3plaDFjSjNuOGc1SUpVUGtUU1I1S2R3YXlKSnc9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 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] [dpdk-dev] [PATCH] crypto/scheduler: fix strncpy length 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, 26 Jan 2018 14:49:46 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Friday, January 26, 2018 2:44 PM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > stable@dpdk.org > Subject: [dpdk-dev] [PATCH] crypto/scheduler: fix strncpy length >=20 > The coverity issue was not completely fixed, since strncpy should be > called with max length - 1. >=20 > Coverity issue: 143431 > Fixes: d040aca67170 ("crypto/scheduler: fix strings not null terminated") > Cc: stable@dpdk.org >=20 > Signed-off-by: Pablo de Lara Use "snprintf", please, to fix these errors sanely without having to worry = about off-by-one issues! /Bruce