diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2026-05-06 13:37:59 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-08-04 10:35:35 +0300 |
| commit | f260ae0375876d2d8683d7dab54071b1d980b15b (patch) | |
| tree | 387b024782cb14e7e4cb68ddf7b400d96c3b8634 /BaseTools/Source/Python/Workspace | |
| parent | c089090278236fdd84404b9ec233835aa0accc96 (diff) | |
| download | edk2-f260ae0375876d2d8683d7dab54071b1d980b15b.tar.xz | |
ShellPkg/EfiCompress: Extract OpenFileHelper() and CompressFile()
Extract file opening and compression code into helpers.
Upon calling:
- gEfiShellProtocol->GetFileSize()
- gEfiShellProtocol->ReadFile()
the returned Status is now checked.
Upon calling AllocateZeroPool, the failed status is now set to
EFI_OUT_OF_RESOURCES.
Other than that, no functional change.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
0 files changed, 0 insertions, 0 deletions
