audk/MdeModulePkg/Universal
Bi, Dandan 04722cfa30 MdeModulePkg/Setup: Fix incorrect size used in AllocateCopyPool
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1115

When the type of HiiValue is EFI_IFR_TYPE_BUFFER,
its question type is EFI_IFR_ORDERED_LIST_OP.
And the buffer size allocated for Statement->BufferValue
of orderedList is "Statement->StorageWidth"
in IfrParse.c.

So here when backup the buffer value and copy the size of
"Statement->StorageWidth + sizeof(CHAR16)" is incorrect.

This patch is to fix this issue.

Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2018-09-04 09:14:46 +08:00
..
Acpi MdeModulePkg: Remove redundant library classes and GUIDs 2018-08-20 14:53:45 +08:00
BdsDxe MdeModulePkg/BdsDxe: Move display of test key usage into BDS module 2018-08-02 15:01:36 -07:00
BootManagerPolicyDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
CapsulePei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
CapsuleRuntimeDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Console MdeModulePkg TerminalDxe: Remove a redundant function 2018-08-21 16:29:07 +08:00
DebugPortDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DebugSupportDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DevicePathDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Disk MdeModulePkg/RamDiskDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02:00
DisplayEngineDxe MdeModulePkg/DisplayEngineDxe: Fix small InitializeDisplayEngine leak 2018-07-06 19:15:56 +08:00
DriverHealthManagerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
DriverSampleDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
EbcDxe MdeModulePkg: Remove redundant library classes and GUIDs 2018-08-20 14:53:45 +08:00
EsrtDxe MdeModulePkg: Remove redundant library classes and GUIDs 2018-08-20 14:53:45 +08:00
EsrtFmpDxe MdeModulePkg ErstFmpDxe: Create ESRT in ReadyToBoot event 2018-08-08 19:18:25 +08:00
FaultTolerantWriteDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FaultTolerantWritePei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FileExplorerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
FvSimpleFileSystemDxe MdeModulePkg FvSimpleFileSystemDxe: Fix memory leak in Read function 2018-07-27 08:54:40 +08:00
HiiDatabaseDxe MdeModulePkg HiiDatabaseDxe: Remove a redundant function 2018-08-21 16:29:08 +08:00
HiiResourcesSampleDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
LegacyRegion2Dxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
LoadFileOnFv2 MdeModulePkg LoadFileOnFv2: Correct the parameter name in function comment 2016-10-25 11:53:59 +08:00
LockBox/SmmLockBox MdeModulePkg SmmLockBox: Return actual data length in SmmLockBoxRestore 2018-08-16 09:02:14 +08:00
MemoryTest MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Metronome MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
MonotonicCounterRuntimeDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Network MdeModulePkg/Network: Add 32bit subnet mask support for IP4 PXE boot. 2018-09-03 08:36:55 +08:00
PCD MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PlatformDriOverrideDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PrintDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
PropertiesTableAttributesDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
RegularExpressionDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ReportStatusCodeRouter MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ResetSystemPei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
ResetSystemRuntimeDxe MdeModulePkg: Remove redundant library classes and GUIDs 2018-08-20 14:53:45 +08:00
SectionExtractionDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SectionExtractionPei MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SecurityStubDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SerialDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SetupBrowserDxe MdeModulePkg/Setup: Fix incorrect size used in AllocateCopyPool 2018-09-04 09:14:46 +08:00
SmbiosDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SmbiosMeasurementDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SmmCommunicationBufferDxe MdeModulePkg: Remove redundant library classes and GUIDs 2018-08-20 14:53:45 +08:00
StatusCodeHandler MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
TimestampDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Variable MdeModulePkg: Variable: Re-prioritize TCG/TCG2 protocol 2018-07-23 08:36:03 +08:00
WatchdogTimerDxe MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00