Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6b045f8b9a76720180620b5cce31051e55eef9e8
      
https://github.com/tianocore/edk2/commit/6b045f8b9a76720180620b5cce31051e55eef9e8
  Author: Patrick Rudolph <[email protected]>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M UefiPayloadPkg/Include/Library/BlParseLib.h
    M UefiPayloadPkg/Library/CbParseLib/CbParseLib.c
    M UefiPayloadPkg/Library/SblParseLib/SblParseLib.c
    M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c

  Log Message:
  -----------
  UefiPayloadPkg: Fix use of uninitialized memory

In coreboot the SMBIOS table generation is optional. When no
SMBIOS tables where found UefiPayloadEntry creates a HOB, but
doesn't initialize the contents.
The gUniversalPayloadSmbiosTableGuid HOB is then used by SmbiosDxe
and it crashes when the pointer in the HOB doesn't point to mapped
DRAM.

Fix that by only creating gUniversalPayloadSmbiosTableGuid HOB
when SMBIOS tables where found.

TEST=Can boot using UEFIPayload when coreboot doesn't provide
     SMBIOS tables.

Signed-off-by: Patrick Rudolph <[email protected]>



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


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to