From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 87B9AA05D3 for ; Mon, 20 May 2019 15:39:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BDEF5F0F; Mon, 20 May 2019 15:39:36 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id DAF1A5B2E; Mon, 20 May 2019 15:39:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 May 2019 06:39:33 -0700 X-ExtLoop1: 1 Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga008.jf.intel.com with ESMTP; 20 May 2019 06:39:32 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.10]) by IRSMSX102.ger.corp.intel.com ([169.254.2.108]) with mapi id 14.03.0415.000; Mon, 20 May 2019 14:39:31 +0100 From: "Trahe, Fiona" To: "Jozwiak, TomaszX" , "dev@dpdk.org" , "shallyv@marvell.com" , "stable@dpdk.org" Thread-Topic: [PATCH] app/test-compress-perf: fix improper use of negative value Thread-Index: AQHVDw+Y23ObD+yid0q1aZYj2okrvaZ0BH8w Date: Mon, 20 May 2019 13:39:30 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358976C588@IRSMSX101.ger.corp.intel.com> References: <1558358764-32053-1-git-send-email-tomaszx.jozwiak@intel.com> In-Reply-To: <1558358764-32053-1-git-send-email-tomaszx.jozwiak@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzJhNGUzNzMtOTM0MC00YTdmLWI5MTAtNmIwODAzNTNiZWE3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN25SVisxSG5WeUpQS2Y1ekE3Y3A1a2NEdFpPQm1BZVV2dXJQN1hWY1FqeTRPM1NQSDBBdzNNUlpPakpwb0FaRSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 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-dev] [PATCH] app/test-compress-perf: fix improper use of negative value 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Jozwiak, TomaszX > Sent: Monday, May 20, 2019 2:26 PM > To: dev@dpdk.org; Trahe, Fiona ; Jozwiak, TomaszX > ; shallyv@marvell.com; stable@dpdk.org > Subject: [PATCH] app/test-compress-perf: fix improper use of negative val= ue >=20 > This patch fixes coverity issue: Improper use of negative value. > test_data->input_data_sz is passed to a parameter that > cannot be negative. >=20 > Coverity issue: 328504 > Fixes: b68a82425da4 ("app/compress-perf: add performance measurement") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tomasz Jozwiak Acked-by: Fiona Trahe