Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6d2143f685087ac94d871a26af017248e57888df
      
https://github.com/tianocore/edk2/commit/6d2143f685087ac94d871a26af017248e57888df
  Author: Ashraf Ali S <ashraf.al...@intel.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M BaseTools/Source/Python/FMMT/core/FMMTOperation.py

  Log Message:
  -----------
  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.al...@intel.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to