]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools: Fix the crash issue when Dynamic structure Pcd use in FDF
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 19 Oct 2018 07:15:02 +0000 (15:15 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Sun, 21 Oct 2018 12:03:37 +0000 (20:03 +0800)
commiteb99b52f9888e99f449b8b984ee5a095027b5fd9
tree6a8bd931c68fd4489706cf32ef1338b73c2a2f9d
parentc3d0f526c04c277d416996efe347f232716528ad
BaseTools: Fix the crash issue when Dynamic structure Pcd use in FDF

The case is use Dynamic structure Pcd in the FDF file.
Current code already save the  Guid, Name and Filed info for those Pcd,
but it directly use the dict key as [Name, Guid] and cause this crash
issue.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=1264
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py