audk/MdeModulePkg
Bret Barkelew f8e6bcb6e7 MdeModulePkg: Initialize temp variable in VarCheckPolicyLib
DumpVariablePolicy() will return EFI_INVALID_PARAMETER if the Buffer
pointer is NULL and the indirect Size is anything but 0. Since this
TempSize was not being initialized it is very likely that this sequence
would not return the total buffer size as expected.

Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3310

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Bret Barkelew <bret.barkelew@microsoft.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-04-13 01:24:13 +00:00
..
Application MdeModulePkg/CapsuleApp: Fix spelling mistake 2020-08-07 18:53:01 +00:00
Bus MdeModulePkg: Initialize local variable value before they are used 2021-03-25 01:54:46 +00:00
Core MdeModulePkg: Fix undefined reference to memcpy with XCODE5 2020-12-04 02:59:38 +00:00
Include MdeModulePkg/Library: Add HiiGetStringEx to UefiHiiLib for EDK2 Redfish 2021-02-05 05:10:44 +00:00
Library MdeModulePkg: Initialize temp variable in VarCheckPolicyLib 2021-04-13 01:24:13 +00:00
Logo MdeModulePkg/Logo:Add RISCV64 architecture 2020-05-07 03:17:15 +00:00
Test MdeModulePkg/Variable/RuntimeDxe: Add Variable Lock Protocol Unit Tests 2020-12-15 06:26:34 +00:00
Universal MdeModulePkg: VariableSmmRuntimeDxe: Added request unblock memory interface 2021-03-05 15:25:07 +00:00
MdeModulePkg.ci.yaml MdeModulePkg Lzma: Update LZMA SDK version to 19.00 2021-01-08 10:03:53 +00:00
MdeModulePkg.dec MdeModulePkg: Change default value of PcdPcieResizableBarSupport to FALSE 2021-01-14 01:34:16 +00:00
MdeModulePkg.dsc MdeModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib 2021-03-31 05:47:10 +00:00
MdeModulePkg.uni MdeModulePkg: Update UNI file for PCIe Resizable BAR Capability 2021-01-14 01:34:16 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00