audk/MdeModulePkg
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
..
Application MdeModulePkg UiApp: Remove a redundant function and a variable 2018-08-21 16:29:11 +08:00
Bus MdeModulePkg EhciPei: Remove a redundant function 2018-08-30 14:44:03 +08:00
Core MdeModulePkg DxeCore: Handle multiple FV images in one FV file 2018-09-03 17:04:58 +08:00
Include MdeModulePkg/Network: Add 32bit subnet mask support for IP4 PXE boot. 2018-09-03 08:36:55 +08:00
Library MdeModulePkg/Network: Add 32bit subnet mask support for IP4 PXE boot. 2018-09-03 08:36:55 +08:00
Logo MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Universal MdeModulePkg/Setup: Fix incorrect size used in AllocateCopyPool 2018-09-04 09:14:46 +08:00
MdeModulePkg.dec MdeModulePkg/MdeModulePkg.dec: add new settings for PCDs 2018-08-30 07:22:29 +08:00
MdeModulePkg.dsc MdeModulePkg: Remove DxeSmmPerformanceLib 2018-08-06 13:58:54 +08:00
MdeModulePkg.uni MdeModulePkg/Variable/RuntimeDxe: introduce PcdMaxVolatileVariableSize 2018-03-30 21:17:07 +02:00
MdeModulePkgExtra.uni MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00