Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: c27552f3431df4580cdd56410b125a579b7201f1 https://github.com/tianocore/edk2/commit/c27552f3431df4580cdd56410b125a579b7201f1 Author: Aaron Pop <aaron...@microsoft.com> Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths: M ShellPkg/Application/Shell/Shell.c Log Message: ----------- 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 <aaron...@microsoft.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits