summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2025-12-01 18:33:39 +0300
committerArd Biesheuvel <workofard@gmail.com>2025-12-02 11:00:53 +0300
commit8e822d5d262b63a17315f1156e2277b3837b59bf (patch)
tree586ecc193ac22787393380fd1570a094702be2c0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent0b982813c756569be8f54f177bde090b76e9638e (diff)
downloadedk2-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/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions