diff options
| author | Luigi Leonardi <leonardi@redhat.com> | 2026-06-30 13:58:12 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-20 14:57:09 +0300 |
| commit | 5dc785e7f664af82f06e9d450df398618edd0396 (patch) | |
| tree | 7f847e9c7e2d2b2ebc4be7d0df2eab1915d641a0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 048e36d5af8c536087f4f821a8db1f5340441181 (diff) | |
| download | edk2-5dc785e7f664af82f06e9d450df398618edd0396.tar.xz | |
OvmfPkg/VirtMmCommunicationDxe: Fix unchecked VirtMmGetProp return values
VirtMmHwFind() calls VirtMmGetProp() twice but does not assign the
return value to Status. The subsequent EFI_ERROR(Status) checks test
the stale Status from LocateProtocol(), which always succeeds at that
point, so FDT lookup failures are silently ignored and the function
proceeds with uninitialised Ranges/Reg pointers.
Assign both VirtMmGetProp() return values to Status so the error
checks work as intended.
Fixes: 9dd47eeea1 ("OvmfPkg: add new VirtMmCommunicationDxe driver")
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
