summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/ParserWarning.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-10-18 17:12:20 +0300
committerYonghong Zhu <yonghong.zhu@intel.com>2018-10-21 15:10:21 +0300
commit2c65efac570f14633c5001ce484dbffb8a11994a (patch)
treeefe8da42218ae0bde4c004377ee1ffa243cd314f /BaseTools/Source/Python/Ecc/ParserWarning.py
parent7cedfa1c8115f058d423b141548feb3c0d2a927f (diff)
downloadedk2-2c65efac570f14633c5001ce484dbffb8a11994a.tar.xz
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 'BaseTools/Source/Python/Ecc/ParserWarning.py')
0 files changed, 0 insertions, 0 deletions