audk/MdeModulePkg/Universal/SetupBrowserDxe
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
..
Expression.c MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Expression.h MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
IfrParse.c MdeModulePkg SetupBrowserDxe: Remove a redundant function 2018-08-21 16:29:11 +08:00
Presentation.c MdeModulePkg/Setup: Fix incorrect size used in AllocateCopyPool 2018-09-04 09:14:46 +08:00
Setup.c MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Setup.h MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SetupBrowser.uni MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SetupBrowserDxe.inf MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
SetupBrowserExtra.uni MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00