Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2aff039da7a8443352f572cecb7ec8109455e7d8
      
https://github.com/tianocore/edk2/commit/2aff039da7a8443352f572cecb7ec8109455e7d8
  Author: Ajan Zhong <ajan.zh...@newfw.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c

  Log Message:
  -----------
  UefiPayloadPkg: Parse PCI RB Segment info when its available in FDT

When FDT based DTB is parsed, variables mPciRootBridgeInfo and
mUplPciSegmentInfoHob are always dereferenced. If there is no PCI
RB Bridge info or RB Segment info provided in FDT, it leads to
NULL pointer dereferenced.

To address this issue, parse PCI RB and Segment information only
when they are available at FDT. If they are unavailable, skip it
and allow the PciBusDxe and PciHostBridgeDxe to handle them.

Signed-off-by: Ajan Zhong <ajan.zh...@newfw.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