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 8298F42AD6; Thu, 11 May 2023 16:26:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A26640DF6; Thu, 11 May 2023 16:26:44 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0FD07406B6; Thu, 11 May 2023 16:26:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683815201; x=1715351201; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=621sZVjjW1U2RQtgOQzotRpi1rfQrm7iYFVARoTDszw=; b=SvotMq/4UrxxCS+iA98WeVEAGUCAwMl0/qLZysHJ3hcV3fAlieEwjejG XJJIvm3sXcScEyAsTKJD9dERn+k8EMVsTCiiXkwq+erPveqsIG7qQiMQ3 hqd/0g4VSiiyfDZVmejxaVcL8PYm8ygCngWf64EMNkp/5N2NWkdWMMN7I I3pZCudRSVgtC5MNwJJv22koAiHjduWuNU+nb4J/IH6AdXDdTvd9snIes 8bu0Xg/iZ/oMtPhES/mkyUhH0KcpelaIhcqYC+8qivAVuH17QLO/q3grW Ckhh8svI0iICuWRgB0+PZfVPS/vcSgYv/l8kn/Ld8b2T4RsFgXYAFcemQ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="353626902" X-IronPort-AV: E=Sophos;i="5.99,266,1677571200"; d="scan'208";a="353626902" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2023 07:26:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="823983729" X-IronPort-AV: E=Sophos;i="5.99,266,1677571200"; d="scan'208";a="823983729" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga004.jf.intel.com with ESMTP; 11 May 2023 07:26:40 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 11 May 2023 07:26:39 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 11 May 2023 07:26:39 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 11 May 2023 07:26:39 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 11 May 2023 07:26:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PFKhaMkRPDUKouGytEocv5aETkriWcnRPqZ44Z2ST+GYuzeHtbOsIjRH9+t5SU+GGTxSFHeL+S2Y11A12N7OE+EfYIjQrfjXyojG3COgoIHdFXCKWlvhGTJk6K2dhSFAxC1yhvKtZeOsOXhsYp6xaONHMjF+QdMk3LnCru3fNqP7TMjpdU18ae1TCsKZiflIYLrl3/OgXZVHmXa/QEcQR8DhVQIZAhxSScSUmndyfeGf58Pp4/STTVbDCzja7kXf2xg2c2P0l/xQN5Z3bKpzM5QOCDyPPGHbGN7KPzTpzSC4gL4DgK41tKF2Vwt9J6VKJuTf51svyapxH6tSjFHdxw== 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=621sZVjjW1U2RQtgOQzotRpi1rfQrm7iYFVARoTDszw=; b=T6ZY2TTtZ8lODfKqYCL69H28rmjL/UIOXQCYDV3wsaVXhqJFWX4Y/8X4Mm23DzlSBiTPEw9rjzHPfCblZ73l1/p5pCs98btsCyHeFVcDVGNO1hsNBv7D663TCpeuC/UyV1niQ/nWKn1dXn/h4Ii4J4FswoEVGKXV+EeIDRsiTCZQHD2TclASEVpztSFzmkhftQbPlBcsgzR7R5g7981dSypU/Kw7TWxMzq2nwCZGBJHmjilQZpdf63zRst5GVzmSI3zYRQWswhfKWhC6eiQkYm+tvuV6bep6ujZqBTsOWKfVX6g++bKzf64DBsYFzRUHMAdEkry4ssS9mTdR0NCOfA== 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 Received: from SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by PH7PR11MB7025.namprd11.prod.outlook.com (2603:10b6:510:208::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.19; Thu, 11 May 2023 14:26:37 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::7b3d:68bf:b546:25d7]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::7b3d:68bf:b546:25d7%2]) with mapi id 15.20.6363.032; Thu, 11 May 2023 14:26:36 +0000 From: "Ji, Kai" To: "Power, Ciara" CC: "dev@dpdk.org" , "O'Donovan, Saoirse" , "stable@dpdk.org" Subject: RE: [PATCH] crypto/openssl: fix memory free issue Thread-Topic: [PATCH] crypto/openssl: fix memory free issue Thread-Index: AQHZhBDlPpJuD6rYvEWuZjsBBV2JDa9VIO6A Date: Thu, 11 May 2023 14:26:36 +0000 Message-ID: References: <20230511135944.142416-1-ciara.power@intel.com> In-Reply-To: <20230511135944.142416-1-ciara.power@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3408:EE_|PH7PR11MB7025:EE_ x-ms-office365-filtering-correlation-id: 66239277-268b-4295-e1cc-08db522bba71 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 83f0lASrHwTuHWfTbNfoYa/lH0kThGI6m1qFW3i4QnAixxcy5SqBaTZu2zbeOLWJuuSRQ3Y7smdWYVbTr/WfivRx9s+yBTiRj8zijjfJiUZT/lUB+yrNkwb5JXPBioFG3E5oZb4ypS7XYi6afPUXYg5ID9lVmLiLDZ/4hzKYrmstG6XVi3YNybcKVA15RqB49C/mu/ZBUeGClykKARWc37xBYkpi96rKKkOTYMbdbJKxvXFoWs3Abq/+aUVP0QyQxovAk9p1wprJp0jBjCRU080j34GO8p57mwqXxoEhvCsB1FenuZzt5Y5AIM3COPf6RoWv+7xE2XlZIggpibdJKxXChFw7WK4KNBdQ9xsKhR9hQtBy9Xl1SyGzIvX/HlMdnVRjJ55xeO5N+L7rFq1mfbRlFgSUpqldXUcxAjWjKUKtZLpemjznmEt/FcXT1OohcHcDfybMxm+rz8e0/V2AqEJ6hgameNUdHvfrJtE7CJGLlzz3GHgaY4gHrMEzn//l6UJ4QXfDmnIK/I27iE9snPgwRFV777jHMa4p/9EVt/xucKCh7yoiY15n640CHCMzcnR9a3iS+FIWPFBnjCaMkINx2edXsNh2KoYTNRgw4HlCcUF8feLmh+1MG+QBT+C/ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(366004)(376002)(39860400002)(136003)(346002)(451199021)(82960400001)(86362001)(122000001)(38070700005)(38100700002)(33656002)(8676002)(55016003)(7696005)(8936002)(6862004)(26005)(6506007)(478600001)(5660300002)(52536014)(186003)(53546011)(9686003)(83380400001)(2906002)(66556008)(66476007)(316002)(71200400001)(41300700001)(66446008)(6636002)(54906003)(64756008)(76116006)(66946007)(4326008)(450100002)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cr842ZFNB4kTJzsD/NMkUwVBhHy8953c2j4QzYjb1uJY1wX2KpTVa8cXTQsy?= =?us-ascii?Q?l1WUxAUme2nR7/YQpx6jvso0ZNjjAW1ZrJrVSnXagpyY9q736SDdkSnoCnEu?= =?us-ascii?Q?WPnQ9xJoZ9wEUw/MrWAmq+mTKhYnosI+1DwlaTxKbSROPvsYsVPdLZdwT4Az?= =?us-ascii?Q?j1V4JQGxPkXkED+8ElVuv45mb8oc23J9I+TNfklHx6YZ68of2NPTX1fq4Bxv?= =?us-ascii?Q?8/bw7wNn82WQoXDg1zU+1XIAFPHYNW3D+yJjJa0+UYRNxUGf0aturjJL3dJ/?= =?us-ascii?Q?ulIx3JHs8EDTmf0eHAo84jeZEnR1Fg+g3afF8vgxVj7KhoADOWBTRlUvBeit?= =?us-ascii?Q?wGzuKg28wf+/clO4RnrMkgTRJsuBN6TbOUxLQhLEUEPFplsupqFT9loxkqsf?= =?us-ascii?Q?+Osq4LMKKFOVCxycJSeUMZNrp1/IdnHAqqImgWPB1SeWm96zGa2XzGuVA5Fy?= =?us-ascii?Q?nh06BMizJ3w4N2Sa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bfmAKAnAm9iqm78doD?= =?us-ascii?Q?+sSoDL7kt/AY0sGC+zWTUCwF4kmbvJAYJBPypiiQvL4L/j7unjWEolUCH1r1?= =?us-ascii?Q?M6HXtqtBSLF/gJ8yjb2dZ0xe/o3eXEKpF1rsrIFKeeUPdyblgYvEYdUfRxqS?= =?us-ascii?Q?mRbNv2ehIXodgiRuhnThpfLtYAmTR51JxKYgfTy8HFT18Lcn/24wHcAHiXUd?= =?us-ascii?Q?XfPXQjwYz2E2aRWgPx8=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66239277-268b-4295-e1cc-08db522bba71 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2023 14:26:36.7781 (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: IqO5T/X6ydDd2tY9xScWETVxy0aOvWhsWWabklv6xG59gDLPi3AI7bRnB70CJ0VpIb6bBK+vHFfh0OpdwHBaBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7025 X-OriginatorOrg: intel.com 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 Acked-by: Kai Ji > -----Original Message----- > From: Power, Ciara > Sent: Thursday, May 11, 2023 3:00 PM > To: Ji, Kai > Cc: dev@dpdk.org; O'Donovan, Saoirse ; > stable@dpdk.org; Power, Ciara > Subject: [PATCH] crypto/openssl: fix memory free issue >=20 > From: Saoirse O'Donovan >=20 > Allocated memory was being freed using 'free' when it should have been > freed using 'OPENSSL_free'. This has now been modified so that the correc= t > method is used to free allocated memory. >=20 > Coverity issue: 384415 > Fixes: 4c7ae22f1f83 ("crypto/openssl: update DSA routine with 3.0 EVP API= ") > Cc: kai.ji@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Saoirse O'Donovan > Signed-off-by: Ciara Power > ---