From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D3CF7A0C43; Wed, 20 Oct 2021 22:50:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9703B40150; Wed, 20 Oct 2021 22:50:01 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id F24FC40142; Wed, 20 Oct 2021 22:49:58 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="229151109" X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="229151109" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 13:49:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="527217870" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga001.jf.intel.com with ESMTP; 20 Oct 2021 13:49:57 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 13:49:57 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 20 Oct 2021 13:49:57 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 20 Oct 2021 13:49:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i3thT1EybiyZQh8m/gOsnIt8R2JS1Rez5XymwE/qt7b0aRQMOKlN27WJGpn7830t+tzG7eT02nutsoq8fug250GJdGo791r2Bu4jAk5HieQfwNZ6r1qWe/Asv4YySQel5BZPRVFCkDH6QQYgykCWQ2g2r64SLo3pe7ZwLa9rfW//Qnj2RvjPWC7KjJnAEt6BS5DHcBVw0Vb9PHG4ibXqMrU6ccIy+M0eiYi3V0b4VKhpxLCHHR20+zoLN4Odmcf22/P5J6cZ7UqoHsD4ueubZe8lyXj0VhBd0JjaG2UGEAWMW/KV4P2XsZOlebVb2nxrYY85YxauaBtkjzX2oS3rjQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iP1+d+VCTOZYNLZLkJUzl//z2pniEeUY6hVwf4dw2mg=; b=AGRzyObaEbi8fmo2QF73s7NOm8cCdNKr3kt8X9J4eb7g1jVF6Y5TPuc0p01pSyu2uXe1QemJrDib6EtkJMBEjV3e3fdnLq1r9/qliJbsNfWazoe/FprJemdpKpUnzMRXLGm3MkURm9vcJYnMuobGzD1kYaDz1qXtZ8JoTAukJMGZGhcFiCU5JtVrF5co1iLXxJWNxgv9Jc7x87RH2Wxl20S4LvHwTJ29WxBcgSuStkkD/ZINVvSMashh/0O21FitcJu0xZP8J2X1kjR+F1ns0xHdTSn7hPANEtgQJ3lKp6Xkrz5OcO7zcqTTf49X8BuORMEZJv2cgMMTiYRaWM6Ksw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iP1+d+VCTOZYNLZLkJUzl//z2pniEeUY6hVwf4dw2mg=; b=JJ1vf+eGn1RTDkM5nPq8QprDHygi+IW2O8VeLSoO4Wn0EynB7cMGN3dhQPnB/nDgyhQyajd2oZBrAM828AGK7O8TsWdbs8HOuNNJbV2zk+I7mlvHYcArY3XP58EBK9xsHK1HASKBC9keyWYjv1W13wYhOuDXrYEOF+o+VE2Adm8= Received: from CO1PR11MB5172.namprd11.prod.outlook.com (2603:10b6:303:95::12) by MW5PR11MB5881.namprd11.prod.outlook.com (2603:10b6:303:19d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Wed, 20 Oct 2021 20:49:48 +0000 Received: from CO1PR11MB5172.namprd11.prod.outlook.com ([fe80::d10:15e6:c08c:4a9e]) by CO1PR11MB5172.namprd11.prod.outlook.com ([fe80::d10:15e6:c08c:4a9e%8]) with mapi id 15.20.4628.016; Wed, 20 Oct 2021 20:49:48 +0000 From: "Wang, Yipeng1" To: David Marchand , "Gobriel, Sameh" , "Richardson, Bruce" CC: dev , dpdk stable , "Medvedkin, Vladimir" Thread-Topic: [PATCH v3] test/hash: fix buffer overflow Thread-Index: AQHXwSPFyZR6bzUQ2EGK+n6fxwJ10avTzSUAgAA6ZoCABeSrgIAAlaGAgAHUYACAAA7y4A== Date: Wed, 20 Oct 2021 20:49:47 +0000 Message-ID: References: <1634153265-193315-1-git-send-email-vladimir.medvedkin@intel.com> <1634233699-197151-1-git-send-email-vladimir.medvedkin@intel.com> <543fb591-d38a-5573-1bbc-db6a0c624893@intel.com> <21a6e602-1138-b8bb-e5c1-ff9c6c314c59@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5786a4f1-37c1-4022-31ba-08d9940b27ba x-ms-traffictypediagnostic: MW5PR11MB5881: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: utGeMwAVOn3cwmNoaP3Ig2/FKdOYo2dsNXRn2bdcQnxKZLFRqWKcPdgkvQBra9Dsl9EolwBU8uhNOvHInLCJBlMNH9xuVEfHYGCKnizdpen47quuCy5hMq8AqqG7Bl1/qwwivmGwo4IT+QpsorasMzpc/PzxxuhiGw49ltnQsrBuC5j3iatB3rY2lj8QPh963UQ6WmECQ6oFetmI6t5Oa6j6YFtRn3h2XFTgkUVjxiaE1xZ7haoKvs9ZABC8oZurYwMeC/LnE80ao02e2xukVasRfw3ZtjiuBfsZZavLT5qht3AFnY8n9N5PXDhWaIavTblGefybVmWp0BV4heHzIUzNz7gmmytV6tJ5tZiLuO6x3dxedBOf92/EoPgC1sUifEVjmUx1ub8gLK8D+g/YD2QwTHYSies97/vHNzSKA3lPvjH70VX2Shz0aAIKmmydrozjtM9ONTrUD3gcBhl/wtJ/M/MzwvYWwd6jYwNwEqGI8gMAziBMEWEGCvAIJWa3VwSk7FcdQWaaQQ8K13x20vpY1g8c6d7VxHk/udftSuOyzptCOmPLYyWRFY5ehX5frZiLgQgpPXNeO3Fzld9W4rbenxss6vL8LwJgGZnbFjgjGqbXHix6VO5XuYmGiduxjNoVIutO2/yelZvX2JOXogFUDxeBFzOh3LIrkh/AOB4NmT4dgzPwPAtY01Ub75tZcQwZNKUkvINsFnKM6QiUMA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB5172.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(54906003)(82960400001)(110136005)(66476007)(6636002)(66446008)(64756008)(66556008)(33656002)(83380400001)(9686003)(8936002)(4326008)(7696005)(52536014)(66946007)(86362001)(53546011)(107886003)(76116006)(316002)(6506007)(38100700002)(5660300002)(186003)(71200400001)(55016002)(2906002)(8676002)(26005)(122000001)(508600001)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cGdORjFSaEtId2xPR3p0R1FSdUZNUk10cFpxdE5acXVwNkFib1M0MGQvckJB?= =?utf-8?B?ZTgyaGtXYzlTYW5ETHV0QjhrZUdwTHpjdndkSUZvV1FRUVJuSDlYcGw2eTNI?= =?utf-8?B?WHZkNm41RTlQSDJlZzB6QlJITy9lOElLOWJJSzRNcEhrZ3hZUDhTNTZ1dk5T?= =?utf-8?B?NEFoaTFwQkRWcXFsSTVvRDNQMzJWcmNvd25DNVB5UE1XRW5Kc2YvaWNmaHBa?= =?utf-8?B?ejI1YVdETGdha0pVaXVzQjg2TmNkME5nczJXZXpFT3BpWTFvUHN5c2NVOEcz?= =?utf-8?B?L2VNOUhnWUwyVmpZWG9HMnZoV3JQd2s1WUpuTVNES0ZEYUo1dFJZeEpPN2FJ?= =?utf-8?B?VVlQVnNuLzgrNEZnVVhIbE5GZDRNdmNLR0dGK1BQWDg5dHN0Mk9rVThyRmox?= =?utf-8?B?RWdMZS82T3drK0Zkb1NYR2doYUVsb0psekh6MGR2Y3FnUnFBemUzenh5bkZk?= =?utf-8?B?Rm83eUkwb2k0Zm5FWENYN1hDOW51KzJ3K1RwUHNGZk9WakM3VDU4TTc1MTRQ?= =?utf-8?B?OHQxbXJzWmNKejVjUFgrQkF3M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-8?B?OFdvVDF4K1pNQ1hCaFVTQXFKS2pyNVRhWkFUeHRVRk1LdjltOUJORFA2Q2Zi?= =?utf-8?B?OXhETW5xcC85eHFvY3ExVW5tWkdYUUs4S1M4a1RtRzhrdU1qTWNZbnJjS3hw?= =?utf-8?B?TlJpVWtIQ1pXYm9mRmRVc2d6eDZxZ0tVcUVQTmtnY1VCUFc5UW9TYkNSSXh1?= =?utf-8?B?cGZPOW5UZm1Obm1TWlpRVHVDNUV6alpwVGltY0dsbDhDWERBWlN6c0dJOVk5?= =?utf-8?B?NmEyb0lkakxqcVZ1dWt3OUxlenRHYXR1bm03Tk9HbklZeTV2SHB2UUlJOE5s?= =?utf-8?B?MnE5dDVvd1VodGtYQmZxekRKb2EwUXBaTW1yelRHQ1VIQ0h1aXRDdnBoaGdm?= =?utf-8?B?VlIvMm5XYmwzbmQ0YlFnTGN3L2ZZT2FhNnIwdEcvT2p2Q29FMHM3VFJ2Ujc5?= =?utf-8?B?ODFwZXh1R1M1N1I4OHo0U1ZFK3dzUCs4YVk5Wjh6VjM1K1duNGlDOUxuaFpw?= =?utf-8?Q?f2kd+6nU3Ug=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5172.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5786a4f1-37c1-4022-31ba-08d9940b27ba X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 20:49:48.0068 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yipeng1.wang@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5881 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] test/hash: fix buffer overflow X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBPY3RvYmVyIDIwLCAy MDIxIDEyOjU0IFBNDQo+IFRvOiBXYW5nLCBZaXBlbmcxIDx5aXBlbmcxLndhbmdAaW50ZWwuY29t PjsgR29icmllbCwgU2FtZWgNCj4gPHNhbWVoLmdvYnJpZWxAaW50ZWwuY29tPjsgUmljaGFyZHNv biwgQnJ1Y2UNCj4gPGJydWNlLnJpY2hhcmRzb25AaW50ZWwuY29tPg0KPiBDYzogZGV2IDxkZXZA ZHBkay5vcmc+OyBkcGRrIHN0YWJsZSA8c3RhYmxlQGRwZGsub3JnPjsgTWVkdmVka2luLA0KPiBW bGFkaW1pciA8dmxhZGltaXIubWVkdmVka2luQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQ QVRDSCB2M10gdGVzdC9oYXNoOiBmaXggYnVmZmVyIG92ZXJmbG93DQo+IA0KPiBPbiBUdWUsIE9j dCAxOSwgMjAyMSBhdCA1OjU4IFBNIE1lZHZlZGtpbiwgVmxhZGltaXINCj4gPHZsYWRpbWlyLm1l ZHZlZGtpbkBpbnRlbC5jb20+IHdyb3RlOg0KPiA+ID4gSSBhbSBub3QgYWdhaW5zdCB0aGUgZml4 LCBidXQgaXQgc2VlbXMgdG8gdGVzdCBzb21ldGhpbmcgZGlmZmVyZW50DQo+ID4gPiB0aGFuIHdo YXQgYW4gYXBwbGljYXRpb24gdXNpbmcgdGhlIGhhc2ggbGlicmFyeSB3b3VsZCBkby4NCj4gPiA+ IE9yIG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