summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/RangeExpression.py
diff options
context:
space:
mode:
authorBi, Dandan <dandan.bi@intel.com>2018-08-28 10:05:48 +0800
committerEric Dong <eric.dong@intel.com>2018-09-04 09:14:46 +0800
commit04722cfa309104d815257a2705db5ee7024dc9bf (patch)
treeb80b54eab802b70e5114e34ceecb91d6a0c3fcaf /BaseTools/Source/Python/Common/RangeExpression.py
parente3b9ab433aaccffdcc71c4af286ac352d4ce7c20 (diff)
downloadedk2-04722cfa309104d815257a2705db5ee7024dc9bf.tar.gz
edk2-04722cfa309104d815257a2705db5ee7024dc9bf.tar.bz2
edk2-04722cfa309104d815257a2705db5ee7024dc9bf.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
0 files changed, 0 insertions, 0 deletions