From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6444CA0613 for ; Fri, 27 Sep 2019 16:15:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 38AEF1BECA; Fri, 27 Sep 2019 16:15:29 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50062.outbound.protection.outlook.com [40.107.5.62]) by dpdk.org (Postfix) with ESMTP id 8042D1BEA5; Fri, 27 Sep 2019 16:15:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kTF+tZsDJKwKtJFxeAi+/UX5ONmz9LA7plncWOL93Byg9F1kKFJ41I99sx+al98csH0yw+SM4QWxatQTorDlFuXH8rC1N8kTjAruQZqV7VWXITbKr1P1CTJCuO2IxR5CaxwZHziRkLD1nCLOBQuLdkoWhzUVoRh3zHhtd5MB+9eRIio8g3yAkQcq+gTb5fcBFEEPEyi+BoLGz3TPVxpHMgiSv/KmH6kossk+auLS5wIdEoJG6Qjdj0rZ15Gz7LQ6blV9ejvPwXK0o7h476NfGrVa8IHDBK5Bj/HPEQICL1TmoXS2QX26M4yUvHD2PLiVlhQ89+wzBHfX5855C/l9Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lPjSOgUSRdl0+mpPDxlwYo/BL2IAS2+eKWRPQuODlRA=; b=gxnVZeKOX5XFmVAFVV4K2gVrjzQyc9TKCvUHM/rbgJfMPCixAH83w+S9rBmgGrAEEQiBdDbK/67d86xB45oOPZT9swqXgcxTZeKVtapbyYxpS2CFSlrOEXn5gMxdNsphjLmy5lwz8cXIKusOVXA5V+Y3k+e5pMmAvSO/dcFVZOHXLVdwoAp/TnzvCHGy4XXeCTNUqgREURl55ABpocZ83srNs1HCfbHJGI5aRdmbypmCd64il24ZQRenLcBuF1RzeBWrg5yHprwNG0EF1ZTHUmku78O19n7Jajftg54Q4osmDjRgEInpX1jO09gFDSUbGYzmv2llJpkTE3uYgaZOPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lPjSOgUSRdl0+mpPDxlwYo/BL2IAS2+eKWRPQuODlRA=; b=ARTQErnmi0L7VsUxjh7TDRitqZ32wA40SIuzJ1Nm6mqiknKX8t/ZCWkQcqxQM0E/xPAu9q4f+hR4YpydieEC5D4i7AIaeWbKnL6TUhZxNMrWMQMSZ7OsPwdM2CRBgoxJWBPwpOQZAkb3sgCIMEh+k5V3yKpWbQsb6MQL0hMhBIQ= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6558.eurprd04.prod.outlook.com (20.179.232.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.16; Fri, 27 Sep 2019 14:15:26 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee%5]) with mapi id 15.20.2305.017; Fri, 27 Sep 2019 14:15:26 +0000 From: Akhil Goyal To: Lavanya Govindarajan , "dev@dpdk.org" CC: "reshma.pattan@intel.com" , "ferruh.yigit@intel.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/test-compress-perf: fix out-of-bounds read Thread-Index: AQHVdG6pgYJopN1UtU2skFhnFmWk3qc/kvpg Date: Fri, 27 Sep 2019 14:15:26 +0000 Message-ID: References: <1569504605-1344-1-git-send-email-lavanyax.govindarajan@intel.com> In-Reply-To: <1569504605-1344-1-git-send-email-lavanyax.govindarajan@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: acd6cda7-d372-4a05-eecd-08d7435524f8 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6558: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(39860400002)(366004)(346002)(396003)(189003)(199004)(71190400001)(71200400001)(256004)(66066001)(86362001)(2906002)(9686003)(33656002)(55016002)(2501003)(6246003)(229853002)(99286004)(5660300002)(4744005)(4326008)(3846002)(44832011)(6436002)(26005)(76176011)(102836004)(6506007)(7696005)(11346002)(446003)(486006)(476003)(81156014)(52536014)(110136005)(6116002)(54906003)(66946007)(74316002)(8936002)(478600001)(64756008)(8676002)(66556008)(66476007)(7736002)(76116006)(66446008)(81166006)(14454004)(186003)(305945005)(316002)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6558; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TQembq417c6mMoMFnPIVmmdt3sM4ollXN64zJ7a8HHfGm9PFrYIcqQ+cYumM5Kl0HOcv7bKf0uxzCn6flvTQDvCTQek3o1Ezrqf0fcrO+3vYxYzZ1NQOIaCD1Zrg6ZV5Pgy2DUWpHSBR5JmQfQAm0MLTr3dor3Yh6G8bFV8b5DJ9s5cp2ePPbSRqmXerEq+tnrxNaX5M6O9PrGqodeiTzhOC++AhgIpQqIYS8Lb56ww714/NuIVvWcurcxVijDqC49a9x6k1f19y9pGEB+mo/zuVY6ePvctYJ/URZnGVQCHvTLVGfi0jlZXHgGd5tRYoUmxHaqSgxQF/EY/RB+RqkTKsD/osv/dwEj6ocLFPdo5Ms3pxOAAw6lOcIoMU/b1mbEgHKOVjSi9H0CEfCIwYTtM1k6U10XqW+c0CX4pAcu0= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: acd6cda7-d372-4a05-eecd-08d7435524f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 14:15:26.6670 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ct8+AmgSI+LcAS1OsyE/yGyb+cGtcOemL7BZ3+bNMbbN0GzcCEuCqtiqY5fA2j5tEzldaAmgy0SCmmrCGJ5qXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6558 Subject: Re: [dpdk-dev] [PATCH] app/test-compress-perf: fix out-of-bounds read 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" > One issue caught by Coverity 344984 > *overrun-local: Overrunning array cperf_test_type_strs of 2 8-byte elemen= ts >=20 > The array cperf_test_type_strs defined in app/test-compress-perf conflict= s > with the same name being defined in app/test-crypto-perf. Due to which > coverity reports error. >=20 > The fix is to rename "cperf_test_type_strs" into "comp_perf_test_type_str= s" > in app/test-compress-perf to avoid name confusion. >=20 > Coverity issue: 344984 > Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore t= est") > Fixes: 1a9b0f3504 ("app/compress-perf: add --ptest option") > Fixes: 424dd6c8c1 ("app/compress-perf: add weak functions for multicore t= est") > Cc: stable@dpdk.org >=20 > Signed-off-by: Lavanya Govindarajan > --- Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.