Re: [edk2] [PATCH] BaseTools: Check the max size for string PCD.

2018-11-02 Thread Feng, Bob C
Reviewed-by: Bob Feng -Original Message- From: Zhao, ZhiqiangX Sent: Wednesday, October 31, 2018 6:36 PM To: edk2-devel@lists.01.org Cc: Zhao, ZhiqiangX ; Gao, Liming ; Zhu, Yonghong ; Feng, Bob C Subject: [PATCH] BaseTools: Check the max size for string PCD. According to

Re: [edk2] [PATCH] BaseTools: Check the max size for string PCD.

2018-10-31 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Zhaozh1x > Sent: Wednesday, October 31, 2018 3:36 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [edk2] [PATCH] BaseTool

[edk2] [PATCH] BaseTools: Check the max size for string PCD.

2018-10-31 Thread Zhaozh1x
According to PCD_DATABASE_INIT in edk2\MdeModulePkg\Include\Guid\PcdDataBaseSignatureGuid.h, the max size for string PCD should not exceed USHRT_MAX 65535(0x). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: ZhiqiangX Zhao Cc: Liming Gao Cc: Yonghong Zhu Cc: Bob Feng