diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-10-18 22:12:20 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-10-21 20:10:21 +0800 |
commit | 2c65efac570f14633c5001ce484dbffb8a11994a (patch) | |
tree | efe8da42218ae0bde4c004377ee1ffa243cd314f /NetworkPkg | |
parent | 7cedfa1c8115f058d423b141548feb3c0d2a927f (diff) | |
download | edk2-2c65efac570f14633c5001ce484dbffb8a11994a.tar.gz edk2-2c65efac570f14633c5001ce484dbffb8a11994a.tar.bz2 edk2-2c65efac570f14633c5001ce484dbffb8a11994a.zip |
BaseTools: Fix one crash bug in the report for Fixed structure Pcd
The case is:
in the DSC file:
SKUID_IDENTIFIER = ALL
[SkuIds]
0|DEFAULT
1|A
[PcdsFixedAtBuild.common.A]
TokenSpaceGuid.Test401|{0x0F, 0x12}
TokenSpaceGuid.Test401.TEST401INT8ARRAY[0]|'B'
in the build report, Data = OverrideValues[Keys[0]], but the Keys[0]
is the keyword "DEFAULT", and in this case the "DEFAULT" SKU doesn't
save any value, then it cause the Data is empty, in the next code
when we use the code it cause crash.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'NetworkPkg')
0 files changed, 0 insertions, 0 deletions