From nobody Sat May 18 19:24:27 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+95485+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1666456510934313.22566876884; Sat, 22 Oct 2022 09:35:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ogWjYY1788612xhahn4wydrj; Sat, 22 Oct 2022 09:35:10 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.48]) by mx.groups.io with SMTP id smtpd.web09.174.1666456509394955788 for ; Sat, 22 Oct 2022 09:35:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UvNqQ54o5nez82kVro2scCn5VWHdXHKSEJPbG1Hj07YSRop/S95C++bXagfigVftIrIEG/ntPwxkkzKwZYriN0QXFMGAXuYrPbPXw9aU+QG5ngUtBOicquVN1ZiBhkQ2SSv5bZVjV0r5xwKntai2fTH3TXcpzBq0BZH8fpMgQ79e+HRkc4Tb/qiTlC/4r88zDSgcOVCBLlxAa5Qjue6/2YOj1rTrrshh/SMKckplCE+7oTsZaAXVB3fljkjCJjXMxYpbsU75FEczAjGx5xXnA/Ke8cEfyV5EvG1O0azfrIeU6MDXregnK/+mrP3R865FMoO/+mKOW/EsEfok7Opx9g== 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=7uuJF6OcJVX9jsB9VkHgUB//IxFzlmKbZEJv5rRzj14=; b=R97UvI9txkyCy6FoLeHuKRYGHhq0NePCiabzHhftL9VsjTaz5NvFbUFzVOhOuUoTXeKdSjBIN0iyRZ2jNtDB31hf2lcMWlsDF5+bRgvTg+jPmc7SX8++ZtxUXBKA+cA1+bjtpN1OQw96ARPpKWqlL/IDYGd0sBY4FzY6FR4IYFzetS6H5u/l67+RfqOF2Htamxay60fgGj+qshArw0okliwOmHD2kVYvOfK9bF2hQrH8YJVKSW6N/Giuzsgpw7p1fcQYwKIkJpVfVl5wSC1gju35l9/R1fmxw5GyFWuEM0UDXrqM5BFCELxLyxfhAYZbcjm0edpLYbpfAAgjoQ/DvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from BN9PR03CA0768.namprd03.prod.outlook.com (2603:10b6:408:13a::23) by CH0PR12MB5313.namprd12.prod.outlook.com (2603:10b6:610:d4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.35; Sat, 22 Oct 2022 16:00:50 +0000 X-Received: from BN8NAM11FT066.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13a:cafe::4) by BN9PR03CA0768.outlook.office365.com (2603:10b6:408:13a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23 via Frontend Transport; Sat, 22 Oct 2022 16:00:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+95485+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT066.mail.protection.outlook.com (10.13.177.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.16 via Frontend Transport; Sat, 22 Oct 2022 16:00:49 +0000 X-Received: from AUS-LX-PAGRIMES.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 22 Oct 2022 11:00:46 -0500 From: "Paul via groups.io" To: CC: Zhiguang Liu , Ray Ni , Gua Guo Subject: [edk2-devel] [PATCH v1 1/2] MdeModulePkg: BdsDxe: Uninitialized local variable. Date: Sat, 22 Oct 2022 09:00:09 -0700 Message-ID: <20221022160010.632-2-paul.grimes@amd.com> In-Reply-To: <20221022160010.632-1-paul.grimes@amd.com> References: <20221022160010.632-1-paul.grimes@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT066:EE_|CH0PR12MB5313:EE_ X-MS-Office365-Filtering-Correlation-Id: ce18a3e3-cc8a-40a8-cd96-08dab44696e2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: zFksw3WTFQl5JxuaTT55fQt2xty5GPYzOpObN6OGw6+ajvNYSxsSVAgULDQredOrJDfMXMHyaLYfXtJkMKArLAsbADNRtZgW8dxJeT9hpQlZ9U2/EuZ9OMmNY9PRE9BzKekgtWM5VjrJCb7AlaMoTorXWn84dF6YrmZ1ZN1b7tDz5y2rF6oiaTiFtP04aph2Cm9BSZE46ZPZIExBMGLsnJVDRNeuEiHiMHhkuatpGX1Yk7tlzx8GSS9AeUgC2+Tcle/XOYvVABVlpMvtRY2SEWKtOApOLXjZxnbLVaPo47LYH6Kis6R3PIOH33sxygoWHj45F7N1+jjkgCaiL+Y+R/Jb1So9YLaP3ETPE+i6xffy3MPnfYhE6bTovzE9w0pkf6McJmzsCnB6rL2xll1jcHG7pfSYd8DEtryem8h87KOCPM5VEyFv4phHRwfMacElo+zGpYJikv+KwtUAU/jXD01BIDuU6marhtybyKIYmqJZcZ0ey9qTMhytex0qovslbm0HCqW9A7GPZhyvCHp1grNXIm5Ax8KbS+IgVoOwH1Fd6Tfjp3nIydvbGKNObHDFbSMuKp3xIWSMrtYQLzD3+0sVeNeoFQTH/F1n1LgPBxz+IIVCXVnNtrLXXeCg89vUhrIJrF1IhkP+pZ2qMUo4huGoaNfpnrDhLvCl+nMpXUFa1X7MeVcyhJPshQl5vUuVBMu6AuOLkPe/UojYI+Wn62H0QzXDBT0dCK0RVr4jYm54HZ+TEmrcKqNaPhWUi5jt9wK2L5Wi23SyU1o+CA9UFhPhj4Kfo08RkWMBeWFijAde//zMVm2DgPV01a3rMBBB X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2022 16:00:49.8034 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce18a3e3-cc8a-40a8-cd96-08dab44696e2 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT066.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5313 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,paul.grimes@amd.com X-Gm-Message-State: hBobBVBYBr0wgXLGNQlZp1p3x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1666456510; bh=e5acoTKrra9wmkemcPOPFQ1tIFMB9V6cRX6HsRfM6iI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=RuOXVVV6j1k2iWdqkcuTLQUPoY7trOwgk5Q5V8MRG+GYvy1nzyihmVr3V7CF6lhK3PY jYlape40JbYvv5Ie5hAcyaRrJKjBnGbbYm/nS/iXnV9tVdmhKLPd8yDssoCqL0a/rOSww PZpVSN9zhEaVA5S3M3H9zwuqGpzuuz5gC9g= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1666456512295100001 Content-Type: text/plain; charset="utf-8" From: Paul Grimes In function BdsFormalizeConsoleVariable(), VariableSize is used prior to being initialized. This change initializes the variable. Cc: Zhiguang Liu Cc: Ray Ni Cc: Gua Guo Signed-off-by: Paul Grimes --- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Univer= sal/BdsDxe/BdsEntry.c index 766dde3aaeeb..455fc344f0be 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -518,6 +518,8 @@ BdsFormalizeConsoleVariable ( UINTN VariableSize; EFI_STATUS Status; =20 + VariableSize =3D 0; + GetEfiGlobalVariable2 (VariableName, (VOID **)&DevicePath, &VariableSize= ); if ((DevicePath !=3D NULL) && !IsDevicePathValid (DevicePath, VariableSi= ze)) { Status =3D gRT->SetVariable ( --=20 2.24.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#95485): https://edk2.groups.io/g/devel/message/95485 Mute This Topic: https://groups.io/mt/94499485/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 18 19:24:27 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+95483+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1666456390308276.8610340575932; Sat, 22 Oct 2022 09:33:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id mb8WYY1788612xvKWJ2QEq8m; Sat, 22 Oct 2022 09:33:10 -0700 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.41]) by mx.groups.io with SMTP id smtpd.web10.137.1666456388676362086 for ; Sat, 22 Oct 2022 09:33:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AXxmIxHLS7uEeYtEtSv0hjiN9Y6JOWR5bA8PpPV3zhdetX1Frz7Z/XXvdxViwTFBud5B7jRaUogKPjkz6U0w+NYMhItrG9YXPz88KB6bSgY0pyrhB7nhlBYx1VImpGKN0cjXKrwQrcwX/p6mNp8QPPQs9+c3xvfZN9P/1UJ0H0i9ETz1w1L2fwcGDkDNGWk3lx65bOR/Zr2tu0nHK7qtTHBIv9rl4HBn6/91ov52mRPteXY+IbOdQppkzuJGpMMgw+i4j9V/RkB4PpxtawGNsuBzxkyKKxP+z7VSUeXK89vvx5Bg7JNaeo2g2R+KEAvugsmpswuH4nVkqadPQhPBrQ== 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=YOYmNkHy2T23Ly+PMRULQWemRdUht0cBUcMCfAlTPKk=; b=TSDyeSbSKNC0OpUcHgjF0J68Ik/ZocKskPnLq/E5aiOmd673n9ACRxOFmd9ZFL7dV0Fmiw1Cg+rXcK/1YbUZh5KcSxPdX4yC8WzFf2mu2RV+n8dOA0NogDCwSxeRe0bSlILKar0/TwYWl/SDgDGmo7f7DiQCl7CzqCfZKfgp27jJrdTZZpEarshsjqtUdOCdtMK+NSL9+JA9NBOjxbP+P+T/X7hnhDyl7Suf6pr+ETQEZUNzPpp5mprqnQZEeVeebW8bpaIQ2xWujTq+YvojYHEICzhKToepc+Fq2hqgUKyHGKjpQs+yTxt5XY/LjBc10w0rUylBueiAUoVoJWSV1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from BN9PR03CA0102.namprd03.prod.outlook.com (2603:10b6:408:fd::17) by BY5PR12MB4902.namprd12.prod.outlook.com (2603:10b6:a03:1dd::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Sat, 22 Oct 2022 16:00:53 +0000 X-Received: from BN8NAM11FT061.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fd:cafe::1) by BN9PR03CA0102.outlook.office365.com (2603:10b6:408:fd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23 via Frontend Transport; Sat, 22 Oct 2022 16:00:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+95483+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT061.mail.protection.outlook.com (10.13.177.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.16 via Frontend Transport; Sat, 22 Oct 2022 16:00:52 +0000 X-Received: from AUS-LX-PAGRIMES.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 22 Oct 2022 11:00:50 -0500 From: "Paul via groups.io" To: CC: Qi Zhang , Rahul Kumar Subject: [edk2-devel] [PATCH v1 2/2] SecurityPkg: OpalPasswordDxe: uninitialized local variable. Date: Sat, 22 Oct 2022 09:00:10 -0700 Message-ID: <20221022160010.632-3-paul.grimes@amd.com> In-Reply-To: <20221022160010.632-1-paul.grimes@amd.com> References: <20221022160010.632-1-paul.grimes@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT061:EE_|BY5PR12MB4902:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a420a70-8c37-492d-0838-08dab446989c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Qcp9AmVwJz5L2xgeQcOF4EuX0PmbTQuKM9gqaLtXRAenW4E8pLd2TQ2NS8Zr+7qPRjKhtsy3zXjrdNkmmb4san0qDj4VhTnWpgbAoIXBqDdaRQ+pKS5qorrpUJsbvyE4bzMuC1Us5x6HXH8bot768tDnrvXx8GwMnquM7X70YCS8BsK/9WGDlTnADuDGs8GDJT/wqAWqgV9CkNvsjYL+g0q50YsnmIgqeygSnsFxktXmjWcUXxl0h8bxRhPD2s/PGmPJobc32tp95tzNwHdRyJVikUAph0UWB4aRtZVQMQez+bCJdKwtWgJG8NLAF2nuFabDDwCzGQym5VX+973tBZVQVTQ1k5smBxz42wYbdpB5D4WgymJEaf9Eee3BRs0ICNP/usw8pLJ1l4+yOyEWpe2SXmKnkzuy6EgaqaBhp5EiBpvsxfnfZbP2p58fzmy5XN8MWaZ2LKJ69pMhk5WWndyOcwkzmItOdhjQMXw30eRkkf+Kh7vqZtgXYkShzijwW3q4zj2c+NZhFVEmdOS6yeEr5w1mQmV4iT5dc59lCJPrk2A9o7EzVa3/16zpHJBDzfxvBjoH1vfFJgB/6QZFtA8mR5IJnH0hrDl4uKp2HO8YMAWwr4fcnRjgBnnCDG9MKJvGO/UM5hYYcmQZDL8+mHskiwoZJqId5Dfm0MmDI3a1ArT75uHsL2NESBfThMcwhdcaf9YAQTv3RE9y0TcHviSlj/wDQQayAJMxafHic+7AKMy9z2vSX+Py2KHFrKllPgJcfgHyO9Mjsa6s5pOEnAeyvIZOKKHVWewjMecd190= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2022 16:00:52.6950 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a420a70-8c37-492d-0838-08dab446989c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT061.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4902 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,paul.grimes@amd.com X-Gm-Message-State: Z3lJJGzBS5WkxtpMP9cbWgemx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1666456390; bh=AfKpdJpWy+6NUZ5DaziaMy+Q7s9AaD7VhaG4HD4Xs1k=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=mbs7mTRJBj7b/50zrxsrWtJdcGVY8b5Sso8W+dr9cYYVO6lNEvwugVFhDICh6U6rT0e 3kxiyTPfnvOLwv9VhDaTZsog2IeoSCV99W7gr/IMyiD7VVrYWb9aOgyAxsMEJNpfY1KFv mWvV9vzuHEWiNIkOlx82lAnkLhZkhtHutIY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1666456391796100002 Content-Type: text/plain; charset="utf-8" From: Paul Grimes In ProcessOpalRequest(), VariableSize is used prior to being initialized. This change initializes the variable. Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Paul Grimes Reviewed-by: Jiewen Yao --- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg/T= cg/Opal/OpalPassword/OpalDriver.c index f127757ad9f0..d827cea23868 100644 --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c @@ -2184,6 +2184,7 @@ ProcessOpalRequest ( =20 DEBUG ((DEBUG_INFO, "%a() - enter\n", __FUNCTION__)); =20 + VariableSize =3D 0; if (mOpalRequestVariable =3D=3D NULL) { Status =3D GetVariable2 ( OPAL_REQUEST_VARIABLE_NAME, --=20 2.24.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#95483): https://edk2.groups.io/g/devel/message/95483 Mute This Topic: https://groups.io/mt/94499443/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-