mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2026-01-01 03:46:35 +00:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=779 For the API EfiShellOpenRootByHandle(): The return status of the call to SimpleFileSystem->OpenVolume should be checked. It is possible that there is a media change in the device (like CD/DVD ROM). In such case, the volume root opened and/or the device path opened previously (also within EfiShellOpenRootByHandle) may be invalid. This commit adds a check for the result of OpenVolume before subsequently calling functions like EfiShellGetMapFromDevicePath() & ConvertEfiFileProtocolToShellHandle(). Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> |
||
|---|---|---|
| .. | ||
| ConsoleLogger.c | ||
| ConsoleLogger.h | ||
| ConsoleWrappers.c | ||
| ConsoleWrappers.h | ||
| FileHandleInternal.h | ||
| FileHandleWrappers.c | ||
| FileHandleWrappers.h | ||
| Shell.c | ||
| Shell.h | ||
| Shell.inf | ||
| Shell.uni | ||
| ShellEnvVar.c | ||
| ShellEnvVar.h | ||
| ShellManParser.c | ||
| ShellManParser.h | ||
| ShellParametersProtocol.c | ||
| ShellParametersProtocol.h | ||
| ShellProtocol.c | ||
| ShellProtocol.h | ||