diff options
author | Aaron Pop <aaronpop@microsoft.com> | 2025-07-21 15:41:46 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-07-23 06:07:09 +0000 |
commit | c27552f3431df4580cdd56410b125a579b7201f1 (patch) | |
tree | a99236201bd7702ae00b910203aaf3dd700b3179 /UefiCpuPkg/Include | |
parent | 04fe3f50d63c0427fb7c4e6a45b48f487e985c5a (diff) | |
download | edk2-master.zip edk2-master.tar.gz edk2-master.tar.bz2 |
When FvSimpleFileSystem is included in a firmware image,
the FV is accessible as a simple file system.
Shell contained a bad assumption that the FileDevicepath,
the path where the efi shell was loaded from, was always
a Media device path/media vendor device path. It would
make a blind cast of the device path node.
Add a check to verify device path type/subtype before
casting the node to a FILEPATH_DEVICE_PATH.
Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'UefiCpuPkg/Include')
0 files changed, 0 insertions, 0 deletions