From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 38D14DE0; Mon, 17 Apr 2017 23:45:16 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 17 Apr 2017 14:45:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,217,1488873600"; d="scan'208";a="846970715" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by FMSMGA003.fm.intel.com with ESMTP; 17 Apr 2017 14:44:54 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.239]) by irsmsx105.ger.corp.intel.com ([169.254.7.163]) with mapi id 14.03.0319.002; Mon, 17 Apr 2017 22:44:53 +0100 From: "De Lara Guarch, Pablo" To: "dev@dpdk.org" CC: "Doherty, Declan" , "stable@dpdk.org" Thread-Topic: [PATCH] app/crypto-perf: fix possible overflow Thread-Index: AQHSstH3kFsTGKh+QkeO4wU4S5bSKqHKIfug Date: Mon, 17 Apr 2017 21:44:52 +0000 Message-ID: References: <1491921779-33239-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1491921779-33239-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjhiM2ZhN2YtYjJmNC00YWJjLTk5OTAtYWMwNzU0Yjg5NmI5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdTSFZscTNlRmY0a0ZRaXB6WG1OSGswVXZnOTJPamxKcmhNQ0FtR3pRN1k9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] app/crypto-perf: fix possible overflow 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: Mon, 17 Apr 2017 21:45:17 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Tuesday, April 11, 2017 3:43 PM > To: dev@dpdk.org > Cc: Doherty, Declan; stable@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] app/crypto-perf: fix possible overflow >=20 > In the latency test, when number of enqueued operations > is less than the burst size, the timestamp value of the > non-enqueued operations was being stored, even though > those operations were being freed. >=20 > This could cause an array overflow, since it could store > more values than the total number of operations. >=20 > Fixes: 5d75fb09d3be ("app/crypto-perf: fix invalid latency for QAT") >=20 > Signed-off-by: Pablo de Lara Applied to dpdk-next-crypto. Pablo