]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Check the max size for string PCD.
authorZhao, ZhiqiangX <zhiqiangx.zhao@intel.com>
Wed, 31 Oct 2018 10:35:47 +0000 (18:35 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 2 Nov 2018 14:39:08 +0000 (22:39 +0800)
commit93f98985826a6eba30584e9b2ada754b3da17990
tree43d209689f1e631a4080fd24f37ec0dde03fde33
parent498cb29dfdcc7232f7b0693e266555c19c43ae20
BaseTools: Check the max size for string PCD.

According to PCD_DATABASE_INIT in
edk2\MdeModulePkg\Include\Guid\PcdDataBaseSignatureGuid.h,
the max size for string PCD should not exceed USHRT_MAX 65535(0xffff).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py