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 4D5C5A0540; Mon, 4 Jul 2022 19:32:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFF67400D7; Mon, 4 Jul 2022 19:32:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5E0D740042 for ; Mon, 4 Jul 2022 19:32:16 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 264B2Wc8001284; Mon, 4 Jul 2022 10:32:15 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3h2kcrerka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Jul 2022 10:32:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mSbxu998UEddcytjxNNh9Ivqj3up1s4Dh4co9wzhmBWCyhL2yhtOOXqsf7gI7yzKGN5huNlnh0T73C0vAEaPg5OcXswwGhgc+IzXQyXZs/FsRIkmO7VUISWiWp0gEzRNcFqyiVuYIzFIVqzLa1NICztrlbSmD+C6gezBkMn6ov9RNKYe8zN3csXTiHR+Be4H265T73/yoeAlVsApJ/S0U8KhpMpKPDCjPyrI19YKBlqmPkxfjrGY97YyglUn3/NM1yQ3kd+Dimi9BuLI7n+PthgWM1HG3m/TQ/BfZVCqUaFZTV464GEaVWqkzyyf/tTdH1Plkon5FfjGkieX5rQBgA== 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=2fLyp441SVXyAdlpOWuqGnw4XwsRfAqTjJrijJK3O8o=; b=Ht7mKgsNVUgYxw38jjwY0JAqEJH/S/rI3nJVB2RVheDXCij+XWkLjUEjIShjbjyRohB+47AwlydtYPAH0uhMC78dqEO0uvdycyvABbs7NkODitbJi7Xew99PnW7bCsbQXZLux0Mz2HaC2T1+pfvHl1PfjqD7Omf0eeob11LxFMyejbJF2MKrlUOuCMnhDXMb5iP4boOzI7rPkqGdpxv0FgN4fqNjTeRZyRFZLPbMNbb1dfB1y2pJ8ayGC6VZ8z4ub32GO3LTvwI9BlF4T7chbV1LnMvyqmpZ1eoxVZpja/0Tija/cwvwNUw5UPir/g6+2qyy3RERzZ4GmJWV5Qfjcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2fLyp441SVXyAdlpOWuqGnw4XwsRfAqTjJrijJK3O8o=; b=NGcrWMw50WsLxKqNi1d/tZui9Z5pEQhoIt11Trdq/DabEbyNIx3ZGDQSW0HKYmprF2qR31prJjbOkgshg8xux30p51nF5rCDyjD+lCet1VtYEEbWq91nOXUh7HLU6mMicN/owWwJQvxcyTu7Ede3Ul4GT1KhKEb4DCaVCjCm74c= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CH2PR18MB3125.namprd18.prod.outlook.com (2603:10b6:610:23::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.20; Mon, 4 Jul 2022 17:32:13 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5%9]) with mapi id 15.20.5395.021; Mon, 4 Jul 2022 17:32:13 +0000 From: Akhil Goyal To: Gowrishankar Muthukrishnan , "dev@dpdk.org" , David Marchand , Thomas Monjalon CC: Fan Zhang , Brian Dooley , Anoob Joseph , Archana Muniganti , Jerin Jacob Kollanukkaran , Gowrishankar Muthukrishnan Subject: RE: [PATCH v3] examples/fips_validation: fix memory leak in sha test Thread-Topic: [PATCH v3] examples/fips_validation: fix memory leak in sha test Thread-Index: AQHYj4w9ieX4ikQsQkOd5ErcZa6AnK1uA77ggAB1CbA= Date: Mon, 4 Jul 2022 17:32:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6dc33a59-2006-49fa-d2a5-08da5de321be x-ms-traffictypediagnostic: CH2PR18MB3125:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1WmoU6Cg1Xl6zIZ5rKc5omf7V4O64zFP3Yo5d6AgBBGbH+A2r2XL//U5Id8CUqwVdgaNepXA77JHiG70Md86ciHTKMr8xPLs9iiFo3A50AuY42yMqb1AWfcNYYSTsAlex7KtF+QRbPp34QVFOE+joL5DqL0EcbEUKuR7wsX52unTVhwofI4jAWfCqdsgpOWed8jDnxSGBnuDMvxlcjdRqlcT0KCrAWH+d9/vVKMljgvlz7geE1fP78KDiStvGLburrGz/GkmGCR275QWYcj1fC9iDnsWqsoP4tQMDJmcQYXht4CUvyRLEAaYJ+Wzprm7MSHBdzUjpCfnXDfe5PoK7YeIN/pJ+3J7GADCw5JADe9ji1PiXZGO/yUOp1w8Jtu2lXMHKwTHPm4mkC/VOD6AA9arYIdyUgYymv7fBSK3jF6n4C8l0GZdO8GUEU4IvAVOeIelzQ2cp4YvucZGE0dMBOWOrUSx8xBk3RvTR4N4Bs6amz/VKc062QAXzi3EvE2e+QWFybphKjWaysHKUHSebRbPMpcq2eqOwcIbyY1VyaYmFTP863fnjuTAObyJHuhfoRMvBAhFyh/ABR4iMvBF1rYGOvNd8vWHrfENpGLl5XE9Kw6fOGSneHM+LxpQXCuh/Ymi3Lg9mad0PK/oh7Ticta6dh7ScOQdGmaLMOCaJP9WTzedXGO7u2Hjf6UMfd2DGtBF0gZm/CAWdxjNzk3WQCBUmU8jFQtleCFMRyVj/2WTLMfVazs0OgII+xKEggVWXy+XuBiwE1xAL0xEuuhzcoB/JkUjtN3UBDeNNNigqe1eZDppnOuSzSAdBvZdWs4K x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(136003)(39860400002)(376002)(346002)(366004)(38100700002)(66446008)(71200400001)(76116006)(8676002)(66556008)(4326008)(54906003)(66946007)(66476007)(33656002)(64756008)(122000001)(316002)(110136005)(86362001)(38070700005)(55016003)(107886003)(41300700001)(2906002)(478600001)(8936002)(52536014)(9686003)(4744005)(26005)(6506007)(7696005)(55236004)(186003)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6TWKlCOpgF/5/Ic3ctrQWc7dhLCjWPTqjKVdg7ZY3s9EGI16tz1p4C6OMLtQ?= =?us-ascii?Q?w9guSShXXJ7KlSmzs8pGRagXzJtT8epM8dufLiTGbaLOa4aP6nJ1RsKx9WnP?= =?us-ascii?Q?2U2sYAG2WqaxZYlnlJctgMkFiZ0ABJyhCczhQdbXJVp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RcfnnPQbpimCpnWeiVxSfVinUGzcJe5b1X6641?= =?us-ascii?Q?wUUocLFb5gFKdr/gQjhULUIZSOctX3Nbk05fLZ35Re93UEJyd1K0RVdfEH/n?= =?us-ascii?Q?r3M7lPlavt5MkiWi1b+nl0ONNv7aS76yOeyRU2kyFo4wCp1rb8SswZlM6aWR?= =?us-ascii?Q?YWnmQCwxRiDR9LKKViD3BoEqSrAayI1UVq2jE0rOw0tOvDQKz9h9mZQy6z6m?= =?us-ascii?Q?AkFVydRI6pZ5n9H5CkM8uR4jF9Ijogew8rRt04zG4XsZZUDLbJcsHgtzsjPq?= =?us-ascii?Q?pBBAUphKBWfupee+TLa+6YfXartEVcyD/Kp3J/Lsqwa16CXB3qVfRoI34eN2?= =?us-ascii?Q?8nQWJQqkJggGDi8W2sag+eBmW4m/P9txQ02TM10Qr9Wqo7b1iUBmVRa/pmSu?= =?us-ascii?Q?5EY/3t/1EmsQt4bT200TWVaLRavZBGhKhmjrMbxb0zA0gTV2oJTS+iZNt7lH?= =?us-ascii?Q?hdnBG6CPVQ4KGSaGw6aWjZpMQ5nJ01VtUIsY3IqYJdnB7yLUnvR8kCP+5ZwQ?= =?us-ascii?Q?R7INGVzDj8iXqCk686iaBI/0jetEnnaPKvDQ6SQ3?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dc33a59-2006-49fa-d2a5-08da5de321be X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2022 17:32:13.0990 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BRSdWhgx9n63B8OrfjRUB7vw6KIEKkGJ4ke6FtVwOfeOEDWAYp45ne5u7tq0mGdY++TIk/DjiaWJ4nBq0FVNJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR18MB3125 X-Proofpoint-GUID: DaihzsABljxkJEZnn5IRua0RFQSKd0Sz X-Proofpoint-ORIG-GUID: DaihzsABljxkJEZnn5IRua0RFQSKd0Sz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-04_17,2022-06-28_01,2022-06-22_01 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 > Subject: RE: [PATCH v3] examples/fips_validation: fix memory leak in sha = test >=20 > > Subject: [PATCH v3] examples/fips_validation: fix memory leak in sha te= st > > > > There is wrong size used for allocation of digest buffer which in > > some cases cause memory corruption. Also, fixed places where memory > > leak is observed. This fix would enable sha 384 and 512 NIST vectors > > be supported fully. >=20 > Fixes: c9819d389b4b ("examples/fips_validation: add parsing for SHA") >=20 > ++David/Thomas Squashed with original commit. Thanks.