summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/Include
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2025-07-21 15:41:46 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-07-23 06:07:09 +0000
commitc27552f3431df4580cdd56410b125a579b7201f1 (patch)
treea99236201bd7702ae00b910203aaf3dd700b3179 /UefiCpuPkg/Include
parent04fe3f50d63c0427fb7c4e6a45b48f487e985c5a (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
ShellPkg: Shell Validate parameter before use.HEADmaster
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