Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c36414b131dfd0a1ca51f10f87a18955bc110ff2
      
https://github.com/tianocore/edk2/commit/c36414b131dfd0a1ca51f10f87a18955bc110ff2
  Author: Nhi Pham <[email protected]>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
    M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c

  Log Message:
  -----------
  MdeModulePkg/DxeCapsuleLibFmp: Fix crash if no ESRT is found

The ESRT table is not required in UEFI firmware. In such cases, the
table may not be present in the UEFI Configuration Table. The mEsrtTable
is to check if the IsNestedFmpCapsule() function is invoked at runtime
to determine whether to use gEsrtManagementProtocolGuid or the ESRT
table from the Configuration Table. Unfortunately, the check does not
cover situations where the ESRT is not present, potentially resulting in
a kernel crash. This patch is intended to fix this issue.

Signed-off-by: Nhi Pham <[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