summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/tests
diff options
context:
space:
mode:
authorAshraf Ali S <ashraf.ali.s@intel.com>2025-01-12 18:22:52 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-27 16:26:18 +0000
commit6d2143f685087ac94d871a26af017248e57888df (patch)
treed1ba08647e0d546cdaf039dddb213489e9812ba5 /BaseTools/Source/Python/tests
parent8c1e786e506474bae02f81b48a5644afb324d1bb (diff)
downloadedk2-6d2143f685087ac94d871a26af017248e57888df.tar.gz
edk2-6d2143f685087ac94d871a26af017248e57888df.tar.bz2
edk2-6d2143f685087ac94d871a26af017248e57888df.zip
BaseTools: Fix NoneType parent reference in FMMT operations
This patch addresses an issue in the FMMT operations where the parent reference is not checked for NoneType. This oversight can lead to an AttributeError: 'NoneType' object has no attribute 'Name' when attempting to access the parent reference. The fix involves adding a check for NoneType before accessing the parent reference to ensure that the operations handle such cases gracefully. The affected functions include: - AddNewFfs - ReplaceFfs - ExtractFfs These functions now include proper checks to prevent the AttributeError. Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/tests')
0 files changed, 0 insertions, 0 deletions