diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2025-12-01 18:33:39 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <workofard@gmail.com> | 2025-12-02 11:00:53 +0300 |
| commit | 8e822d5d262b63a17315f1156e2277b3837b59bf (patch) | |
| tree | 586ecc193ac22787393380fd1570a094702be2c0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.uni | |
| parent | 0b982813c756569be8f54f177bde090b76e9638e (diff) | |
| download | edk2-8e822d5d262b63a17315f1156e2277b3837b59bf.tar.xz | |
ShellPkg/UefiShellLevel2/Ls: Bail out early in MainCmdLs()
If RootPath is NULL, PrintLsOutput() will return an error code
of SHELL_OUT_OF_RESOURCES and not print anything:
PrintLsOutput()
\-StrnCatGrow()
if (Source == NULL) {
return (*Destination);
}
Remove paths where FullPath ends up being NULL and bail out
early.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.uni')
0 files changed, 0 insertions, 0 deletions
