summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/BaseMemoryAllocationLibNull
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2025-07-22 01:41:46 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-07-23 09:07:09 +0300
commitc27552f3431df4580cdd56410b125a579b7201f1 (patch)
treea99236201bd7702ae00b910203aaf3dd700b3179 /MdeModulePkg/Library/BaseMemoryAllocationLibNull
parent04fe3f50d63c0427fb7c4e6a45b48f487e985c5a (diff)
downloadedk2-c27552f3431df4580cdd56410b125a579b7201f1.tar.xz
ShellPkg: Shell Validate parameter before use.
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 'MdeModulePkg/Library/BaseMemoryAllocationLibNull')
0 files changed, 0 insertions, 0 deletions