From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web09.2265.1666747057467818403 for ; Tue, 25 Oct 2022 18:17:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=ZgOEBGiW; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 0D9EACD1F714 for ; Wed, 26 Oct 2022 09:17:35 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1666747055; bh=ULhClhOY0JcT4r0nvWrU0EhVotaXh2lsny/JYFvAZow=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=ZgOEBGiWblo1a/fWXtaNuyMPmCoS9/dBVaqqeJ7/vbXVbl3GKZhIIwXzMhEp1dL/N QlPBNAfVwbfSmm2SthDPEvKFdlZM/Df6YE/CsMb43W8fHZ2sXeBqaEFabqs9B92KYt tiBmqaTy3ahYG/gUhixLHDO/nqZP56QKC8GQPM78= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 0A720CD1F77C for ; Wed, 26 Oct 2022 09:17:35 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id D38BCCD1F708 for ; Wed, 26 Oct 2022 09:17:34 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 6F925CD1F76F for ; Wed, 26 Oct 2022 09:17:31 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 26 Oct 2022 09:17:26 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Zhiguang Liu'" , "'Ray Ni'" , "'Gua Guo'" , "'Qi Zhang'" , "'Rahul Kumar'" References: <20221022160010.632-1-paul.grimes@amd.com> In-Reply-To: <20221022160010.632-1-paul.grimes@amd.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYxIDAvMl0gVW5pbml0aWFsaXplZCBsb2NhbCB2YXJpYWJsZS4=?= Date: Wed, 26 Oct 2022 09:17:28 +0800 Message-ID: <06ae01d8e8d8$b6abec10$2403c430$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFKuMEjuciFAGeTIr9dr+AlMyVQSK88P7+w Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Paul: How do you find this issue? Are they reported by the compiler or code analyzer?=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Paul via > groups.io > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA10=D4=C223=C8=D5 0:00 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Zhiguang Liu ; Ray Ni ; Gua > Guo ; Qi Zhang ; Rahul Kumar > > =D6=F7=CC=E2: [edk2-devel] [PATCH v1 0/2] Uninitialized local variable. >=20 > From: Paul Grimes >=20 > The variable 'VariableSize' is used prior to being > initialized. This patch initializes the variable. >=20 > https://github.com/pbgrimes/edk2/tree/fix_uninitialized_local_variable >=20 > Cc: Zhiguang Liu > Cc: Ray Ni > Cc: Gua Guo > Cc: Qi Zhang > Cc: Rahul Kumar >=20 >=20 > Paul Grimes (2): > MdeModulePkg: BdsDxe: Uninitialized local variable. > SecurityPkg: OpalPasswordDxe: uninitialized local variable. >=20 > MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 2 ++ > SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 1 + > 2 files changed, 3 insertions(+) >=20 > -- > 2.24.0.windows.2 >=20 >=20 >=20 >=20 >=20